Skip to content

Real-time data for LangChain agents

Give a LangChain agent live crypto, stock and market data as tools. Discovery, quotes and paid calls through one MCP server.

  • Load every RealtimeAPI tool through langchain-mcp-adapters in three lines.
  • `discover` returns at most five compact matches so the agent's context stays small.
  • Pay per call with x402, or start on a free key that covers every feed.
Python
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({"realtimeapi": {"url": "https://mcp.realtimeapi.ai/mcp", "transport": "streamable_http"}})
tools = await client.get_tools()  # discover, get_quote, call_feed, create_free_key
Or in Claude Code
claude mcp add --transport http realtimeapi https://mcp.realtimeapi.ai/mcp

Feeds for this use case

Frequently asked questions

Do agents built with this framework need an API key?

No. Agents can pay per request in USDC with x402, or start with a free key (1,000 calls a month across every feed).

What does a call cost?

Each endpoint has a provider-set price, $0.008 to $0.10 per call on these feeds. Only successful responses are billed.

Get a free key

1,000 calls a month across every feed. Who is setting it up?

No key needed at all: agents can pay per call in USDC with x402.