trading-mcp
by netanelavr·★ 71·Score 43
Trading MCP server providing stock screening, fundamental analysis, insider trading, social sentiment, and news analysis.
Overview
The Trading MCP server is a comprehensive finance-focused MCP implementation that integrates multiple data sources for stock analysis. It provides tools for technical screening, fundamental metrics comparison, insider trading monitoring, options sentiment analysis, and social media research with Reddit integration. The server requires external API keys from OpenAI and Reddit for advanced features like sentiment analysis.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you need comprehensive stock analysis with multiple data sources and AI-powered sentiment analysis for investment research.
When NOT to choose this
Avoid this if you need real-time trading capabilities or if you're unwilling to manage multiple API keys for OpenAI and Reddit.
Tools this server exposes
10 tools extracted from the READMEscreen_stocks_advanced_filtersfilters: object, limit?: numberAdvanced stock screening using Finviz filters with technical patterns and fundamental criteria.
get_fundamental_stock_metricsticker: string, metrics?: arrayRetrieves comprehensive financial metrics including P/E ratios, ROE, debt ratios, and growth rates.
compare_stock_valuationstickers: array, metrics?: arrayCompares valuation metrics across multiple stocks to identify relative value opportunities.
calculate_financial_health_scoreticker: string, weights?: objectCalculates a comprehensive financial health score based on profitability, liquidity, leverage, and growth metrics.
analyze_insider_activityticker: string, limit?: number, transaction_types?: array, analysis_period?: number, min_transaction_value?: numberMonitors insider transactions and analyzes sentiment patterns with confidence scores.
get_put_call_ratioticker: stringRetrieves put/call ratio data from Barchart to assess options market sentiment.
comprehensive_stock_analysisticker: stringAll-in-one stock analysis combining fundamental metrics, financial health, insider data, options sentiment, and social/news analysis.
discover_trending_stockssubreddits?: array, limit?: numberIdentifies stocks gaining attention across Reddit investing communities with mention frequency.
analyze_reddit_sentimentticker: string, subreddits?: array, time_filter?: string, limit?: number, sort?: string, max_posts_for_sentiment?: number, include_comments?: boolean, post_id_for_comments?: string, comment_limit?: numberSearches Reddit discussions and uses AI to analyze retail investor sentiment with confidence scores.
analyze_news_and_market_contextticker: string, days_back?: number, max_articles?: number, include_sentiment?: boolean, sector?: string, news_items?: arrayCombines news sentiment analysis, market impact assessment, and sector context analysis.
Comparable tools
Installation
Installation
- **Clone and install dependencies:**
git clone <repository-url>
cd trading-mcp
npm install- **Build the project:**
npm run build- **Configure in Claude Desktop:**
Add to claude_desktop_config.json:
{
"mcpServers": {
"trading-mcp": {
"command": "node",
"args": ["/path/to/trading-mcp/dist/server.js"],
"env": {
"OPENAI_API_KEY": "sk-your-openai-api-key-here",
"REDDIT_CLIENT_ID": "your-reddit-client-id",
"REDDIT_CLIENT_SECRET": "your-reddit-client-secret",
"REDDIT_USERNAME": "your-reddit-username",
"REDDIT_PASSWORD": "your-reddit-password"
}
}
}
}FAQ
- What API keys are required?
- OpenAI API key is required for news analysis and social sentiment analysis. Reddit credentials are required for social media research features.
- How can I get Reddit API credentials?
- Visit Reddit App Preferences (https://www.reddit.com/prefs/apps), create a script app, and note your client_id and client_secret. Add these to your MCP configuration.
Compare trading-mcp with
Last updated · Auto-generated from public README + GitHub signals.