Documentation, playground, agent integration, and signal reliability — all in one place.
get_market_regime, check_trade, get_index_detail, get_signal_changes, get_market_pulse./v1/agent/briefing, /v1/agent/context/{ticker}, /v1/agent/openai-tools.snapshot_id, computed_at, quality flags, and citation metadata.MCP service health
curl https://marketschema-mcp-production.up.railway.app/health
# {"status":"ok","service":"mcp"}OpenAI function schemas
curl https://api.marketschema.com/v1/agent/openai-tools
Add the following to your Claude Desktop MCP config, then restart Claude.
{
"mcpServers": {
"marketschema": {
"command": "python3",
"args": ["-m", "mcp_server.server", "--transport", "stdio"],
"env": {
"MARKETSCHEMA_API_BASE_URL": "https://api.marketschema.com",
"MARKETSCHEMA_AGENT_API_KEY": "ms_agent_your_key_here",
"MCP_STDOUT_GUARD": "1"
}
}
}
}The hosted MCP endpoint is available at https://marketschema-mcp-production.up.railway.app/mcp. Clients must send proper MCP session headers and accept streamable events.
POST https://marketschema-mcp-production.up.railway.app/mcp Accept: application/json, text/event-stream Content-Type: application/json
Load tool schemas dynamically and pass them directly to your model runtime.
{
"tools": [
{
"type": "function",
"function": {
"name": "get_market_regime",
"description": "Get the current macro regime across 8 categories",
"parameters": { "type": "object", "properties": {}, "required": [] }
}
}
]
}curl -H "Authorization: Bearer ms_agent_your_key_here" \ https://api.marketschema.com/v1/agent/briefing
Free keys can call briefing. Agent-scope keys can call full context endpoints.