Skip to main content

equity-intel-mcp

equity-intel-mcp MCP server

License: MIT Python MCP

equity-intel-mcp - composite verdict demo

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

equity_intel_mcp-0.1.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

equity_intel_mcp-0.1.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file equity_intel_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: equity_intel_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for equity_intel_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f88377b86e9381327efe17062f6c9fb0fe02a8822e10d946d3fd213ae8c34bac
MD5 e70371d3b9cbd681afe52c6fa7669e1f
BLAKE2b-256 3f5d28cc731c404e055952a1e5d780e306c9ff45656a49033c4e33971022f06b

See more details on using hashes here.

File details

Details for the file equity_intel_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for equity_intel_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15acd9ce3b18ed8c2f05b0c510ffad2e71704efe4cd58cd5ead0dc1ee3f6545f
MD5 55feb764d251b71ff5e318a3cda06879
BLAKE2b-256 34213e523b15094873276f841c219e7ed3f27e0060e21fb493ba63df26b0202e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page