Back to Browse

Market Data MCP Server

by R0dell
Developer ToolsModerate7.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Paid-per-call data for agents: trading calendars, futures, macro, LEI, VAT, risk events (x402)

About

Paid-per-call data for agents: trading calendars, futures, macro, LEI, VAT, risk events (x402)

Security Report

7.0
Moderate7.0Low Risk

Valid MCP server (1 strong, 4 medium validity signals). 5 known CVEs in dependencies (0 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry.

4 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Path to a file with the private key of a small, dedicated payment wallet (plain text or JSON with private_key). Without it only free tools work.Optional

Environment variable: X402_KEY_FILE

Alternative to X402_KEY_FILE: private key of a small, dedicated payment wallet.Required

Environment variable: X402_PRIVATE_KEY

Highest price per call in USDCOptional

Environment variable: MAX_USDC_PER_CALL

Total budget per server start in USDCOptional

Environment variable: MAX_USDC_PER_SESSION

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-r0dell-market-data-mcp": {
      "env": {
        "X402_KEY_FILE": "your-x402-key-file-here",
        "X402_PRIVATE_KEY": "your-x402-private-key-here",
        "MAX_USDC_PER_CALL": "your-max-usdc-per-call-here",
        "MAX_USDC_PER_SESSION": "your-max-usdc-per-session-here"
      },
      "args": [
        "x402-market-data-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Market Data MCP

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

AreaToolsPrice per call
Exchange hoursmarket_is_open, market_next_open_close, market_holidays0.0205–0.0405 USDC
Futuresfutures_front_month, futures_expirations, futures_roll_calendar, crypto_futures_expiry0.0205–0.0405 USDC
Trading timesettlement_date, fx_sessions, dst_gaps, is_dst_gap, market_countdown0.0205–0.0405 USDC
Macrotreasury_yield_curve, treasury_spread, ecb_fx_rate, ecb_convert, cot_positioning, reference_rate, inflation0.0205–0.0405 USDC
Calendarsoptions_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, public_holidays, workdays, payment_cutoff0.0205–0.0405 USDC
Briefingtrading_briefing – all market-moving events of the next days in one call0.0455 USDC
Futures specscontract_spec, futures_tick_value, futures_position_size0.0205 USDC
Risk & complianceweather_alerts, earthquakes, fda_recalls, sanctions_check (OFAC, UN, EU, SECO)0.0385–0.0445 USDC
Referencelei_lookup, timezone_info, meeting_window, sun_moon, treasury_reporting_rate, eu_vat_rates, vin_decode, iban_check, bic_check, country_info, currency_info0.0225–0.0365 USDC
Freecatalog_list, payment_status, list_markets, list_futures_products, list_cot_marketsfree

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

Reviews

No reviews yet

Be the first to review this server!