market-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@market-mcpWhat's the technical snapshot for SPY?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
market-mcp
Local MCP (stdio) for technical analysis of ETFs / indices / equities.
The market data implementation lives in the shared ../services/market-data
package. This project exposes that implementation through MCP tools.
Features:
Symbol resolution with equivalents fallback (exchange suffixes + UCITS).
Automatic FRED routing for macroeconomic series alongside Yahoo Finance.
Local equivalences persistence with registration and query tools.
Locally calculated indicators (RSI, MACD, SMAs).
Snapshots at three dates:
current,last_week,last_month.Disk cache for OHLCV and snapshots.
Compact responses with explicit reporting of when an equivalent was used.
Installation
uv syncRelated MCP server: polygon-mcp
Execution
uv run market-mcpConfiguration in Codex / OpenCode
OpenCode (opencode.json)
{
"mcpServers": {
"market-analysis": {
"type": "local",
"command": ["uv", "--directory", ".../mcp/marketdata", "run", "market-mcp"],
"enabled": true
}
}
}Codex
{
"mcpServers": {
"market-analysis": {
"command": "uv",
"args": ["--directory", ".../mcp/marketdata", "run", "market-mcp"]
}
}
}Exposed tools
register_ticker_equivalencelist_ticker_equivalencesget_ticker_equivalenceget_etf_price_snapshotget_multiple_etf_price_snapshotsget_price_historyget_technical_snapshotevaluate_technical_signalcompare_technical_snapshotsget_maritime_chokepoint_status
Maritime chokepoints
get_maritime_chokepoint_status consults daily AIS observations from IMF
PortWatch for hormuz, bab_el_mandeb, or both. It reports vessel counts,
tankers, estimated capacity, rolling averages, data freshness, and AIS caveats.
It does not provide maritime insurance premiums or coverage decisions.
FRED series
The following identifiers are routed automatically to FRED's CSV endpoint:
T10YIE- 10-Year Breakeven Inflation RateDFII10- 10-Year Treasury Inflation-Indexed SecurityDGS10- 10-Year Treasury Constant Maturity RateDGS2- 2-Year Treasury Constant Maturity RateDGS30- 30-Year Treasury Constant Maturity RateT10Y2Y- 10-Year Treasury Constant Maturity Minus 2-Year Treasury Constant MaturityDTWEXBGS- Nominal Broad U.S. Dollar Index
The explicit FRED:<id> form is also supported. FRED observations are scalar
daily values normalized as candles with equal open/high/low/close fields and
no volume. Negative values, such as an inverted yield spread, are supported.
Persistent data
Runtime data must be outside Git and is configured through MARKET_DATA_ROOT:
export MARKET_DATA_ROOT="$HOME/ai/var/market-data"The core creates these paths below the configured root:
yahoo_ticker_equivalence_registry.jsonyahoo_ticker_memory.jsonohlcv_cache/snapshot_cache/
This server cannot be deployed
Maintenance
Related MCP Connectors
Market Data App MCP — wraps the Market Data App API (marketdata.app)
One MCP key: prices, fundamentals, SEC filings, insider/13F/congressional trades. 336 tools.
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
TradeOS MCP: ticker search, My Agent, chart TA, macro news. npm stdio or HTTP.
Related MCP Servers
- FlicenseBqualityDmaintenanceExposes various Marketstack API endpoints as MCP tools, providing access to financial market data including EOD, intraday, splits, dividends, tickers, exchanges, and other financial information.181-
- AlicenseCqualityCmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT
- FlicenseNot gradedqualityCmaintenanceEnables querying U.S. politician stock trades from public disclosures, running backtests, and generating daily briefings via MCP tools.10-
- FlicenseNot gradedqualityCmaintenanceProvides live US stock quotes and historical price data via MCP tools.-