RealtimeAPI.ai
Live data for AI agents: crypto, Hyperliquid, stocks, news, macro, predictions. Free key or x402.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"mcp": {
"url": "https://mcp.realtimeapi.ai/mcp"
}
}
}Remote endpoints
https://mcp.realtimeapi.ai/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢discover(query, max_price, limit)
Search all feeds for endpoints matching a need. Returns up to `limit` ranked endpoints with price, params and latency (`latency.by_region`: cache-miss ms per Cloudflare region).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 500,
"description": "What data you need, in plain words"
},
"max_price": {
"description": "Max USD per call, e.g. 0.01",
"type": "number",
"exclusiveMinimum": 0
},
"limit": {
"description": "Results, default and max 5",
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_sample(tool, url)
Free trimmed sample of an endpoint's real response from the probe's cached copy (no key, no payment): see the data shape before paying. Works for results discover marks sample: true.
Input Schema
{
"type": "object",
"properties": {
"tool": {
"description": "Tool name from discover, e.g. \"cryptodata_market-health\"",
"type": "string",
"maxLength": 128
},
"url": {
"description": "Gateway URL, e.g. https://api.realtimeapi.ai/v1/cryptodata/market-health",
"type": "string",
"maxLength": 2048
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_feeds
List all live feeds with endpoint counts, per-call price range, plans and their paid MCP URL.
Input Schema
{
"type": "object",
"properties": {}
}🟢get_quote(tool, url, method, params)
Price an endpoint without calling it: x402 `accepts` for one call plus time-pass plans. Nothing is charged.
Input Schema
{
"type": "object",
"properties": {
"tool": {
"description": "Tool name from discover, e.g. \"cryptodata_market-health\"",
"type": "string",
"maxLength": 128
},
"url": {
"description": "Gateway URL, e.g. https://api.realtimeapi.ai/v1/cryptodata/market-health",
"type": "string",
"maxLength": 2048
},
"method": {
"description": "HTTP method for url (default GET)",
"type": "string",
"maxLength": 10
},
"params": {
"description": "Endpoint params by name (path params fill the URL, the rest become query params)",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": [
"string",
"number",
"boolean"
]
},
{
"type": "array",
"items": {
"type": [
"string",
"number",
"boolean"
]
}
}
]
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪call_feed(tool, url, method, params, api_key, ...)
Call a feed endpoint through the gateway with your API key (or an x402 payment). Without either it returns the 402 payment options.
Input Schema
{
"type": "object",
"properties": {
"tool": {
"description": "Tool name from discover, e.g. \"cryptodata_market-health\"",
"type": "string",
"maxLength": 128
},
"url": {
"description": "Gateway URL, e.g. https://api.realtimeapi.ai/v1/cryptodata/market-health",
"type": "string",
"maxLength": 2048
},
"method": {
"description": "HTTP method for url (default GET)",
"type": "string",
"maxLength": 10
},
"params": {
"description": "Endpoint params by name (path params fill the URL, the rest become query params)",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": [
"string",
"number",
"boolean"
]
},
{
"type": "array",
"items": {
"type": [
"string",
"number",
"boolean"
]
}
}
]
}
},
"api_key": {
"description": "rta_live_ key; defaults to this server's X-API-Key header",
"type": "string",
"maxLength": 128
},
"payment": {
"description": "base64 x402 PAYMENT-SIGNATURE answering a previous 402",
"type": "string",
"maxLength": 16384
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_free_key(email)
Create a free API key (1,000 calls/month, all feeds) for the user's real email. Works at once; signing in at realtimeapi.ai with that email later re-issues the secret once.
Input Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"required": [
"email"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence