Skip to main content

Market Data MCP

An MCP server that gives AI assistants and agents 42 paid data tools plus 5 free helper tools:

Area Tools Price per call
Exchange hours market_is_open, market_next_open_close, market_holidays 0.0205–0.0405 USDC
Futures futures_front_month, futures_expirations, futures_roll_calendar 0.0205–0.0405 USDC
Trading time settlement_date, fx_sessions, dst_gaps, is_dst_gap, market_countdown 0.0205–0.0405 USDC
Macro treasury_yield_curve, treasury_spread, ecb_fx_rate, ecb_convert, cot_positioning 0.0205–0.0405 USDC
Calendars options_expiration_check, options_expiration_calendar, vix_expirations, economic_release_next, economic_releases, central_bank_next_meeting, central_bank_meetings, treasury_auctions, treasury_next_auction, is_banking_day, banking_holidays, index_rebalance_dates 0.0205–0.0405 USDC
Briefing trading_briefing – all market-moving events of the next days in one call 0.0455 USDC
Futures specs contract_spec, futures_tick_value, futures_position_size 0.0205 USDC
Risk events weather_alerts, earthquakes, fda_recalls 0.0385–0.0425 USDC
Reference lei_lookup, timezone_info, meeting_window, sun_moon, treasury_reporting_rate, eu_vat_rates, vin_decode 0.0245–0.0365 USDC
Free catalog_list, payment_status, list_markets, list_futures_products, list_cot_markets free

Exchanges: NYSE, Nasdaq, LSE, Xetra, SIX, Tokyo, Hong Kong, Shanghai, ASX, CME equity futures. Futures: ES, MES, NQ, MNQ, YM, MYM, RTY, M2K, FDAX, FDXM, FESX, FSMI. Macro data comes from the U.S. Treasury (public domain), the ECB (euro reference rates; source: ECB statistics) the CFTC Commitments of Traders report, GLEIF (CC0), NWS, USGS, openFDA, U.S. Treasury Fiscal Data and NHTSA vPIC (public domain).

How payment works

Each paid tool calls an HTTP API protected by x402. The server pays automatically in USDC on Base, using a wallet key you provide, and only:

  • to the known wallets of these APIs (any other payee is refused),
  • in USDC on Base mainnet,
  • up to MAX_USDC_PER_CALL per call (default 0.05) and MAX_USDC_PER_SESSION per server start (default 1.00).

Without a key the free tools work and paid tools explain how to enable payment.

Use a separate, small wallet for X402_PRIVATE_KEY with only a few USDC on Base. Never use your main wallet. No ETH is needed for gas; the x402 facilitator pays it.

Install (Claude Desktop, Cursor, any MCP client)

Requires uv. Add this to your MCP client config (Claude Desktop: Settings → Developer → Edit Config):

{
  "mcpServers": {
    "market-data": {
      "command": "uvx",
      "args": ["--from", "x402-market-data-mcp", "market-data-mcp"],
      "env": {
        "X402_KEY_FILE": "C:\\path\\to\\wallet.json",
        "MAX_USDC_PER_SESSION": "1.00"
      }
    }
  }
}

X402_KEY_FILE points to a file with the key (plain text or JSON with private_key); alternatively set X402_PRIVATE_KEY directly. Without uv: pip install x402-market-data-mcp and use "command": "python", "args": ["-m", "market_data_mcp"].

Then ask for example: "Is the NYSE open on 27 November 2026 at 18:00 UTC?", "What is the ES roll date in December?" or "Show the current US yield curve and the 2s10s spread."

Direct HTTP use

The same data is available as x402 HTTP APIs, listed in the Coinbase x402 Bazaar:

Disclaimer

Data is provided as is, without warranty. Not investment advice. Always confirm critical dates with the exchange.

License: MIT

Metadata

Release files for x402-market-data-mcp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for x402-market-data-mcp 0.4.0
File Size Uploaded Provenance Actions
x402_market_data_mcp-0.4.0.tar.gz 14.9 kB With provenance Details for x402_market_data_mcp-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for x402-market-data-mcp 0.4.0
File Interpreter ABI Platform Actions
x402_market_data_mcp-0.4.0-py3-none-any.whl Python 3 none any Details for x402_market_data_mcp-0.4.0-py3-none-any.whl

Total release size: 28.7 kB

Release files / x402_market_data_mcp-0.4.0.tar.gz

Download URL x402_market_data_mcp-0.4.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c7e9a811503b9aff9e3237bdbf67e783bb5de745a9c72f6754442609f2d4edf
BLAKE2b-256 checksum
How to use checksums
b7023994d272a14fb35145fc9c10a4fff0d370361eef0b489b7ba4d781af83c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / x402_market_data_mcp-0.4.0-py3-none-any.whl

Download URL x402_market_data_mcp-0.4.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4513245bdaadccb9d1b9db6b41690b112a492e2e1dea2d48265bd4501c8304a9
BLAKE2b-256 checksum
How to use checksums
5ad247d78201f2e4cbf661c9c82cac142ca204a481fd1bd3543a10bc0aaecf69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for x402-market-data-mcp 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for x402_market_data_mcp-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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