Skip to content

OpenMarkets

OpenMarkets is a Model Context Protocol server exposing normalized financial-market data and quantitative analytics through 125 tools.

Install and run

uvx --from 'openmarkets@latest' openmarkets

The default full profile exposes all 125 tools. Use --profile overview for 12 curated tools. All providers are included in the installation. Select published tools with --profile, --modules, or --providers. See installation for the provider and module catalog.

For Streamable HTTP:

uvx --from 'openmarkets@latest' openmarkets \
  --transport http \
  --host 0.0.0.0 \
  --port 8000 \
  --http-auth-enabled \
  --http-auth-secret "replace-with-a-secret" \
  --http-allowed-hosts "markets.example.com"

The MCP endpoint is /mcp; /health and /metrics provide operational telemetry. DNS-rebinding protection is enabled by default. Configure every externally accepted Host through --http-allowed-hosts.

For horizontally scaled deployments, set OPENMARKETS_REQUEST_STATE_KEYS to a comma-separated ring of secrets (each at least 32 bytes) so multi-round MCP requests can be verified by every replica. --http-stateless preserves the SDK's opt-in behavior for 2025-era Streamable HTTP clients; modern 2026 clients are sessionless regardless.

Tool profiles

Profile Tools Scope
overview 12 Asset summaries, fundamentals, news, screening, markets and rates
research 12 Company research, estimates, ownership, filings and peers
trading 12 Price action, technical indicators and options
portfolio 9 Portfolio risk, allocation, factors and backtesting
macro 28 Economy, rates, FX, commodities and markets
full (default) 125 Every tool
Module names Varies Complete specialist modules listed in installation

Select a profile with --profile, for example:

uvx --from 'openmarkets@latest' openmarkets --profile portfolio

API contract

Generate the exact MCP input and output schemas from the installed version:

uv run openmarkets --profile full --export-schema openmarkets-tools.json

See the API reference for transport and schema details.

Data integrity

OpenMarkets distinguishes unavailable upstream data from malformed provider responses. Unknown arguments, invalid numerical ranges, non-finite analytics, and broken provider shapes fail explicitly rather than being converted to plausible zeroes or all-null success objects.