Skip to main content

Connect Your AI to Live Market Data

Once connected, your AI can answer questions it couldn't before:

"How is TSMC doing right now — what's moving the stock?"

"Which biotech stocks is the market getting nervous about?"

"Compare Apple, Samsung, and TSMC's financials"

"What's driving the selloff in Palantir?"

It answers from live data — not a web search, not months-old training knowledge.

Get your API key first at marketdx.app, then follow the steps for your AI.


Claude.ai (web) or Claude Desktop​

No terminal. No config files. Just a UI.

  1. Open Settings → Connectors
  2. Click Add custom connector
  3. Paste this URL: https://mcp.marketdx.app/mcp
  4. In Advanced settings, add your API key as a header:
    • Header name: Authorization
    • Value: Bearer YOUR_API_KEY
  5. Click Add

Start a new conversation — MarketDX is ready.


Claude Code (terminal)​

claude mcp add --transport http marketdx \
--header "Authorization: Bearer YOUR_API_KEY" \
https://mcp.marketdx.app/mcp

Cursor, Windsurf, or other AI coding tools​

Add this to your MCP config file (usually mcp.json in your app's settings):

{
"mcpServers": {
"marketdx": {
"type": "http",
"url": "https://mcp.marketdx.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}

ChatGPT, Gemini, or other AI assistants​

Each app handles external connections differently — check for "custom tools", "plugins", or "connections" in your app's settings. When asked for a server URL, use https://mcp.marketdx.app/mcp and add your API key as the Authorization header.


What your AI can answer now​

What you askWhat happens
"How is NVDA / TSMC doing right now?"Live price + news + market positioning
"What moved gold this week?"News impact graph
"How are US interest rates looking?"Live yield curve + macro news
"What's the EV theme doing — winners and losers?"Megatrend summary
"Find small-cap tech stocks with growing revenue"Multi-condition screener
"Compare Apple vs Samsung vs TSMC financials"Financial statements
"Save this thesis for later"Personal knowledge base

You don't need to specify which tool to use — the AI figures that out. The other pages in this section explain what's available if you want to ask for something specific.


Credits​

Most questions cost 1 credit. More complex ones cost a bit more:

What you askCredits
"How is X doing?" (full read — price + news + positioning)5
"Summarize the semiconductor sector" (analyst brief)15
"Analyze my portfolio"5
Name lookups, sector codes, trade codesFree

Check your balance anytime: "How many credits do I have left?"


Troubleshooting​

The AI says it doesn't have market data — the connection wasn't set up, or the API key is wrong. Try the setup steps again.

The AI gives outdated information — it may have fallen back to its training data. Try asking: "Use MarketDX to check the latest on X."

News results look empty — news coverage starts from 2026. Older date ranges return nothing; that's not a bug.

Trade data isn't available — the trade flow tools require a Comtrade API key connected to your account. Ask your AI: "Do I have a Comtrade key connected?"