API & MCP Tools
40 tools available through the Model Context Protocol. Connect once, access everything. Each tool returns structured Pydantic models — no raw dictionaries, no wrapper types.
Connect
Claude Code
claude mcp add meridex \ --transport http \ https://your-server:8000/mcp \ --header "X-API-Key: mop_..."
Claude Desktop
{
"mcpServers": {
"meridex": {
"command": "python",
"args": ["-m", "mcp_server.server"],
"env": {
"MOP_API_KEY": "mop_..."
}
}
}
}REST API
curl -H "X-API-Key: mop_..." \ https://your-server:8000/\ v1/api/market/get_ticker_snapshot\ ?ticker=AAPL
Real-Time Snapshots
6 toolsmarket_get_ticker_snapshotReal-time snapshot for a single ticker — quote, last trade, day and minute bars.
market_get_snapshot_all_tickersReal-time snapshot for every ticker in a given market.
market_list_universal_snapshotsMulti-asset snapshot across stocks, options, crypto, and forex in one call.
market_get_top_moversTop 20 gainers and losers for the day, ranked by percentage change.
market_get_previous_closePrevious trading day's open, high, low, close, and volume.
market_get_daily_open_closeSingle day OHLCV with pre-market and after-hours data.
Historical Bars
3 toolsmarket_get_aggregate_barsOHLCV bars with custom timeframes — minute, hour, day, week, month, quarter, year.
market_list_aggregate_barsSame as above with automatic pagination for large date ranges.
market_get_grouped_daily_barsEntire market's OHLCV for a single date. Every ticker, one call.
Technical Indicators
4 toolsmarket_get_smaSimple Moving Average for identifying trends over a configurable window.
market_get_emaExponential Moving Average. More responsive to recent price changes than SMA.
market_get_rsiRelative Strength Index on a 0-100 scale. Above 70 is overbought, below 30 is oversold.
market_get_macdMACD line, signal line, and histogram for momentum analysis and crossover detection.
Options & Derivatives
3 toolsmarket_get_options_contractFull options contract specifications — strike, expiration, exercise style, and Greeks.
market_list_options_contractsOptions chain with filtering by underlying, expiration date, and strike price.
market_get_crypto_order_bookLevel 2 cryptocurrency order book with bids, asks, and market depth.
Company Intelligence
5 toolsmarket_get_ticker_detailsCompany fundamentals — market cap, SIC code, description, address, employee count.
market_get_ticker_eventsCorporate timeline including name changes, mergers, and delistings.
market_get_ticker_typesValid ticker type codes (CS, ETF, ADRC, etc.) with descriptions.
market_list_tickersSearch and browse tickers by symbol or name. Supports text search.
market_get_related_companiesPeer companies, competitors, and sector mates for a given ticker.
Corporate Actions
4 toolsmarket_list_dividendsCash dividend events with ex-date, record date, pay date, and amounts.
market_list_stock_dividendsStock dividends — distributions in shares rather than cash.
market_list_splitsStock split events with execution dates and split ratios.
market_list_stock_splitsAlternative stock split endpoint with different filtering options.
Short Interest & Float
3 toolsmarket_list_short_interestShort interest percentage and volume for a given ticker.
market_list_short_volumeDaily short sale volume compared to total trading volume.
market_list_float_sharesPublic float data — the number of freely tradeable shares outstanding.
Macro & Fixed Income
4 toolsmarket_list_inflationHistorical US inflation data from the Federal Reserve, CPI-based.
market_list_inflation_expectationsForward-looking inflation expectations from the Fed.
market_list_labor_marketEmployment statistics — unemployment rate, employment figures, job openings.
market_list_treasury_yieldsUS Treasury yield curve across maturities: 2Y, 5Y, 10Y, 30Y, and more.
Risk & Regulatory
2 toolsmarket_list_risk_factorsRisk factors extracted from SEC filings — 10-K and 10-Q reports.
market_list_risk_factor_taxonomiesRisk factor categorization system for systematic analysis across filings.
News
1 toolmarket_list_ticker_newsNews articles with headlines, URLs, publisher information, and tickers mentioned.
Market Reference
3 toolsmarket_get_exchangesStock exchange list with name, MIC code, locale, and asset class metadata.
market_get_market_statusCurrent market state — open, closed, pre-market, or after-hours.
market_get_market_holidaysUS stock market holidays with open/close schedules.
Diagnostics
2 toolsmarket_healthcheckVerify the MCP server is running and responsive.
market_validate_configValidate that the API key is configured correctly. No network call.