LIVE DataLink.ai
Recipe

Get a live stock quote in an AI agent

How do I give an AI agent a current stock price instead of stale training data?

Connect one read-only MCP tool and let the agent retrieve a current quote, compare tickers, or pull price history without maintaining a market-data integration.

Get a free key → More recipes

The steps

  1. stock_quote
    Retrieve the current quote, change, volume, market state, and key valuation fields for one ticker.
  2. stock_quote_batch
    Optional: retrieve up to ten tickers in one call for a watchlist or portfolio view.
  3. stock_compare
    Optional: compare price and fundamentals side by side before the agent summarizes them.

Result: A current, source-backed market snapshot your agent can reason over instead of guessing from its training cutoff.

Safe example

stock_quote

{
  "symbol": "AAPL"
}

Returns the latest available AAPL price, change, volume, day range, market state, market cap, P/E, and 52-week range. Values are fetched live when the authenticated call runs.

This is a fixed documentation example. It makes no API call. The separate anonymous evaluation remains atomically capped at 25 lifetime calls per network; ongoing use requires a metered key.

Open this tool in the metered playground →

Connect from your client

Cursor and bearer-header MCP clients

Add this remote server configuration, replacing YOUR_API_KEY.

{
  "mcpServers": {
    "livedatalink": {
      "url": "https://livedatalink.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
VS Code / GitHub Copilot

Save as .vscode/mcp.json. VS Code prompts for the key instead of committing it.

{
  "inputs": [
    {
      "id": "livedatalink-key",
      "type": "promptString",
      "description": "LiveDataLink API key",
      "password": true
    }
  ],
  "servers": {
    "livedatalink": {
      "type": "http",
      "url": "https://livedatalink.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${input:livedatalink-key}"
      }
    }
  }
}
OpenAI Responses API

Pass LiveDataLink as a remote MCP tool with an authorization header.

const response = await openai.responses.create({
  model: "gpt-5.6",
  input: "Use LiveDataLink to answer the request.",
  tools: [{
    type: "mcp",
    server_label: "livedatalink",
    server_url: "https://livedatalink.ai/mcp",
    headers: { Authorization: "Bearer YOUR_API_KEY" },
    require_approval: "never"
  }]
});
Claude and Claude Desktop

Claude's current remote-connector flow accepts authless or OAuth servers and does not accept LiveDataLink's API-key header directly. Do not paste the older claude_desktop_config.json remote-URL example. OAuth support is the remaining prerequisite for a native Claude connector.

Raw JSON-RPC smoke test
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "stock_quote",
    "arguments": {
      "symbol": "AAPL"
    }
  }
}

Send this body to https://livedatalink.ai/mcp with Authorization: Bearer YOUR_API_KEY.

All 284 tools run under the same key; the free tier gives you 1,000 queries/month with no card.

Related searches: stock quote mcp · real time stock api for ai · chatgpt stock price · claude stock data · cursor mcp finance.

FAQ

How do I how do i give an ai agent a current stock price instead of stale training data?
Connect one read-only MCP tool and let the agent retrieve a current quote, compare tickers, or pull price history without maintaining a market-data integration. In LiveDataLink: stock_quote → stock_quote_batch → stock_compare. A current, source-backed market snapshot your agent can reason over instead of guessing from its training cutoff.
What does this cost?
The free tier includes 1,000 queries/month with no credit card. Every tool in this recipe is callable on the free tier; paid plans start at $10/month for higher volume.
How do I connect?
Add https://livedatalink.ai/mcp as a Streamable-HTTP MCP server with a Bearer key in Claude, Cursor, or n8n, then call the tools in order. Get a free key at https://livedatalink.ai/signup/free.

Start free - 1,000 queries/month → Browse all 59 data domains