tradeiq-mcp
An MCP (Model Context Protocol) server that gives Claude, Codex CLI and other MCP clients real, point-in-time market data — prices, indicators, fundamentals, SEC filings, news, insider activity, options, earnings dates, macro series — plus tools to turn an analysis into a professionally formatted report (PDF, HTML, Word or Markdown) and to keep a verifiable track record of your calls.
It runs locally on your machine over stdio. No account and no hosted backend of its own; most data tools need no API key (macro series need a free FRED key).
Educational and informational use only. Nothing here is investment advice.
Install
You need uv. Then add the server to your client:
Claude Code
claude mcp add tradeiq -- uvx tradeiq-mcp
Claude Desktop — add to claude_desktop_config.json
(Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"tradeiq": { "command": "uvx", "args": ["tradeiq-mcp"] }
}
}
Codex CLI
codex mcp add tradeiq -- uvx tradeiq-mcp
Restart the client, then ask for something like "Research MSFT and give me a full report as a PDF."
Prefer pip? pip install tradeiq-mcp, then use tradeiq-mcp as the command.
How it works: your assistant does the thinking
Most tools here only fetch and verify data — there is no LLM inside them. The analysis (bull case, bear case, verdict) is written by the assistant you already use, on your own subscription, using verified data as input. That keeps this free to run and keeps every number traceable to a real source and date.
Every data tool takes an as_of_date and never returns anything after it, so
an analysis "as of" a past date sees only what was actually knowable then.
Live-only sources with no history (earnings calendar, options chains) are
withheld for past dates rather than served mislabeled.
Tools
Data and research — no API key, no LLM cost
| Tool | What it does |
|---|---|
research_bundle |
One call: verified snapshot, fundamentals, news and insider activity, pre-formatted as the first part of a report |
get_price_history / get_technical_indicators |
Daily OHLCV; RSI, MACD, Bollinger, moving averages, ATR |
get_verified_market_snapshot |
Deterministic price + indicator snapshot — the source of truth for an exact number |
get_fundamentals / get_balance_sheet / get_cashflow / get_income_statement |
Fundamentals and statements |
get_sec_filed_financials |
As-filed SEC EDGAR statements, point-in-time correct |
get_ticker_news / get_global_news |
Company and macro news |
get_insider_transactions |
Insider buys and sells |
get_earnings_calendar |
Next earnings date, estimates, dividend dates |
get_options_snapshot |
Near-the-money calls/puts, ATM implied volatility, put/call volume ratio |
compare_tickers |
Side-by-side valuation and technical table for 2–8 tickers |
get_macro_indicators |
FRED macro series (needs a free FRED_API_KEY) |
get_prediction_markets |
Polymarket odds for a topic |
morning_briefing |
Macro news, watchlist news and pending decisions in one call |
normalize_ticker_symbol |
Resolve broker-style symbols (XAUUSD → GC=F) |
Reports and track record
| Tool | What it does |
|---|---|
save_report |
Export a markdown report as PDF, HTML, Word or Markdown — cover page, contents, charts, color-coded sections |
log_decision |
Record a call (with its rating) in a persistent decision log |
resolve_pending_decisions |
Settle logged calls with the real realized return and alpha vs. a benchmark |
get_track_record |
Scorecard: hit rate and average alpha overall and per rating |
list_recent_decisions / get_report |
Read back past decisions and saved reports |
Optional automated pipeline — needs your own LLM API key
| Tool | What it does |
|---|---|
analyze_ticker |
Runs a multi-agent research debate for one ticker and date |
run_backtest |
Scores that pipeline's rating quality over a ticker × date grid |
list_providers |
Shows supported LLM providers and which have a key set |
These make many LLM calls per run using your provider API key, set as an
environment variable for the server (for example OPENAI_API_KEY,
ANTHROPIC_API_KEY, GOOGLE_API_KEY). A Claude or ChatGPT subscription is not
an API key and cannot be used for this. Everything else works without one.
Pass keys through your client's config, e.g. Claude Code:
claude mcp add tradeiq -e ANTHROPIC_API_KEY=... -- uvx tradeiq-mcp
Where data is written
Reports, exports and the decision log are written under
~/.tradingagents/ on your machine (override with TRADINGAGENTS_RESULTS_DIR
and TRADINGAGENTS_MEMORY_LOG_PATH). The server has no backend of its own to
send them to; its outbound requests go to the market-data sources the tools
query, and to your LLM provider if you use the optional pipeline.
PDF export on Linux and macOS
PDF export uses WeasyPrint, which needs the Pango system library on Linux and
macOS (Linux: libpango-1.0-0 and libpangoft2-1.0-0; macOS:
brew install pango). HTML, Word and Markdown export work without it, and the
server starts either way.
Development
python -m venv .venv
.venv/bin/python -m pip install -e . # Windows: .venv\Scripts\python.exe
.venv/bin/python scripts/smoke_test.py # exercises the tools end to end
Third-party code
This package bundles third-party open-source code under its own license.
See NOTICE.
License
Apache-2.0 — see LICENSE.
Release files for tradeiq-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tradeiq_mcp-0.2.0.tar.gz | 172.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tradeiq_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 399.8 kB
Release files / tradeiq_mcp-0.2.0.tar.gz
| Download URL | tradeiq_mcp-0.2.0.tar.gz |
|---|---|
| Size | 172.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
217a21ba3e53cfcd2fb881727d15efb2789090bdb1d30426f5a01799871bcfbf
|
|
BLAKE2b-256 checksum How to use checksums |
3f3b07e634aa33051b26f04ca4b9136737b1217dd78c6436b1b27545212f3266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / tradeiq_mcp-0.2.0-py3-none-any.whl
| Download URL | tradeiq_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 227.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
515512129a996f991cb95c13a201fc80a77bafbd81a1b32673353d65da4ea020
|
|
BLAKE2b-256 checksum How to use checksums |
3a7f3bfc44586a8175743500ff297e4a14cd3e77117394e2c544a753350f95d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|