equity-intel-mcp
Provides institutional-grade equity analysis for any LLM via MCP, aggregating insider trading, superinvestor holdings, analyst consensus, options data, and valuation into a confidence-weighted verdict.
README
equity-intel-mcp
Institutional-grade equity analysis for any LLM, over the Model Context Protocol.
Most "stock" integrations just echo a price. This one gives an AI agent the signals professionals actually look at — insider buying from SEC filings, what renowned value investors are holding, analyst consensus, options-implied moves, and valuation — and blends them into a single, confidence-weighted verdict.
It runs entirely on free / public data (Yahoo Finance, SEC EDGAR, Dataroma), fails gracefully when a source is missing, and never fabricates a signal it doesn't have.
# Equity Intelligence — MSFT
## Verdict: Neutral → HOLD
[........|#.......] +11/100 · confidence 69% · 5 source(s)
| Source | Signal | Score | Conf | Weight |
|---------------|--------------|-------:|-----:|-------:|
| insider | Bearish | -77 | 70% | 0.25 |
| superinvestor | Lean bullish | +33 | 100% | 0.30 |
| analysts | Bullish | +64 | 75% | 0.15 |
| valuation | Bullish | +91 | 60% | 0.09 |
| options | Lean bullish | +19 | 40% | 0.04 |
- insider: Insiders net selling $13.5M over 180d (62 filings).
- superinvestor: 38 tracked superinvestors hold MSFT; 19 buys / 18 sells.
- analysts: 66 analysts: 23 strong buy / 38 buy / 5 hold.
- valuation: Fair value ~$569 vs $391 (+46% upside); health 84/100.
- options: 1-month implied move +/-7.6%; put/call OI 0.53.
Tools
| Tool | What it does | Source | Status |
|---|---|---|---|
equity_analyze_ticker |
Hero tool. Runs every source in parallel and returns one scored verdict (BUY → AVOID) with a per-source breakdown. | composite | ✅ |
equity_insider_activity |
Net insider buying vs. selling from SEC Form 4 filings (180-day window), weighted by USD value. | SEC EDGAR | ✅ |
equity_superinvestors |
Which of ~80 tracked value investors hold the stock, plus recent net buying/selling. | Dataroma | ✅ |
equity_get_quote |
Live price snapshot + position in the 52-week range. | Yahoo Finance | ✅ |
equity_analyst_consensus |
Wall Street buy/hold/sell consensus — scored from distribution of strong-buy to strong-sell ratings. | Finnhub | ✅ |
equity_options_signal |
1-month implied move (straddle/spot) + put/call OI skew. Primary use: risk-sizing. | Yahoo Finance | ✅ |
equity_valuation |
Fair-value estimate (forward EPS × sector P/E) + financial-health score (debt, liquidity, margins). | Yahoo Finance | ✅ |
Every tool returns Markdown (human-readable, default) or JSON
(response_format="json") for programmatic use.
Quick start
git clone https://github.com/cstamigo-droid/equity-intel-mcp equity-intel-mcp
cd equity-intel-mcp
python -m venv .venv && .venv\Scripts\activate # Windows
pip install -r requirements.txt
copy .env.example .env # then edit .env (set EDGAR_IDENTITY)
python -m equity_intel_mcp # starts the MCP server over stdio
Smoke test (hits the live sources and prints each signal):
python tests/test_smoke.py AAPL
Configure (.env)
# Required by SEC fair-access policy — any "Name email@example.com"
EDGAR_IDENTITY=Your Name you@example.com
# Required by equity_analyst_consensus (free key at finnhub.io)
FINNHUB_API_KEY=your-key-here
Use it in Claude Desktop
Add this to claude_desktop_config.json
(%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS),
then restart Claude Desktop:
{
"mcpServers": {
"equity-intel": {
"command": "python",
"args": ["-m", "equity_intel_mcp"],
"cwd": "C:/path/to/equity-intel-mcp",
"env": { "EDGAR_IDENTITY": "Your Name you@example.com" }
}
}
}
Then just ask Claude: "Give me a full read on NVDA" or "Are insiders buying PLTR?"
Why it's built this way
- Uniform signal contract. Every source returns the same shape
(
score -100..+100,confidence 0..1,data,summary). That's what lets an LLM reason across heterogeneous evidence instead of parsing five formats. - Graceful degradation. A stock with no Form 4 activity returns "no signal", not a fake bearish score. Missing data lowers confidence; it never invents a call.
- Confidence-weighted blending. The composite weights each source by its importance × its own confidence, so thin signals don't outvote strong ones.
- Resilient + cached. Short per-source TTL caches avoid hammering rate-limited endpoints when an agent calls several tools on the same ticker in one turn.
See ROADMAP.md for what's next.
Disclaimer
For research and educational use only. Not investment advice. Data comes from third-party public sources and may be delayed or incomplete. Do your own due diligence.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。