TradingLookup for AI agents
How can AI agents query TradingLookup?
Free MCP & OpenAPI 3.1
Zero-auth read-only endpoints covering prop firms, CFD loss rates, crypto access, economic releases, and market hours under CC BY 4.0.
Read · connection configs · #
Read-only · No API key or account · Two Streamable HTTP MCP endpoints: https://tradinglookup.com/mcp (17 tools) and directory-clean https://tradinglookup.com/mcp/directory (16 tools, zero promotional wording).
MCP connection configs (Streamable HTTP)
Copy a JSON block below into your AI coding client. Use /mcp/directory when your workflow or directory excludes promotional codes, or /mcp for the full 17-tool server. Server card metadata lives at https://tradinglookup.com/.well-known/mcp/server-card.json.
Claude Code & Claude Desktop
Streamable HTTP · /mcp
Add to .mcp.json or Claude Desktop MCP settings (or connect https://tradinglookup.com/mcp/directory as a custom connector).
{
"mcpServers": {
"tradinglookup": {
"type": "http",
"url": "https://tradinglookup.com/mcp"
}
}
} Cursor
Directory-clean · /mcp/directory
Add to .cursor/mcp.json and drop /for-ai-agents/cursorrules.txt into your repository root as .cursorrules.
{
"mcpServers": {
"tradinglookup": {
"url": "https://tradinglookup.com/mcp/directory"
}
}
} Windsurf
Directory-clean · /mcp/directory
Add to ~/.codeium/windsurf/mcp_config.json and pair with /for-ai-agents/windsurfrules.txt as .windsurfrules.
{
"mcpServers": {
"tradinglookup": {
"serverUrl": "https://tradinglookup.com/mcp/directory"
}
}
} Antigravity
Directory-clean · SKILL.md
Add the MCP server configuration and save /for-ai-agents/SKILL.md inside your project skills directory.
{
"mcpServers": {
"tradinglookup": {
"serverUrl": "https://tradinglookup.com/mcp/directory"
}
}
} OpenAPI 3.1, REST v1 & static JSON endpoints
Every REST v1 and static JSON endpoint is served over HTTPS with CORS enabled and without authentication under CC BY 4.0. Inspect the full machine schema in /openapi.json or discover all files via /data/catalog.json.
| Endpoint | Format | What it returns |
|---|---|---|
| /openapi.json | OpenAPI 3.1 | Machine-readable API specification for Custom GPTs, LangChain, CrewAI, and n8n. |
GET /api/v1/prop-firms/{slug} | REST v1 JSON | Prop firm plans, rules, and cost to reach funded (optional account_size and market query params). |
GET /api/v1/prop-firms/compare | REST v1 JSON | Side-by-side comparison of two prop firms (firm_a, firm_b, optional account_size). |
GET /api/v1/market-hours | REST v1 JSON | Live exchange open, closed, pre-market, post-market, and holiday status (optional exchange and at). |
GET /api/v1/economic-calendar | REST v1 JSON | Scheduled central bank decisions and macro releases filtered by currency, impact, event, from, and limit. |
GET /api/v1/cfd-loss-rates | REST v1 JSON | Retail CFD account loss rates filtered by broker or regulator, with mandatory FCA COBS 22.5 warning. |
| /data/catalog.json | JSON | Master open-data catalog with file URLs, schemas, row counts, dates, and citation lines. |
| /data/agent/prop-plans/futures.json | JSON | Priced futures prop firm plans (plus forex.json and crypto.json), rules, and cost to reach funded. |
| /data/agent/rule-changes.json | JSON | Index of prop firms with recorded rule or fee changes between weekly reads. |
| /data/agent/cfd-loss-rates.json | JSON | Retail CFD account loss rates with legal entity, regulator, source URL, and mandatory FCA COBS 22.5 warning. |
| /data/agent/crypto-access.json | JSON | US 50-state exchange availability matrix and UK FCA cryptoasset register status. |
| /data/agent/economic-releases.json | JSON | Scheduled central bank policy decisions (FOMC, BoE, ECB, RBA, RBI) and macro releases. |
| /data/agent/india-brokers.json | JSON | Indian stockbroker fee schedules and statutory charges (STT, NSE, SEBI, stamp duty, GST). |
| /data/market-hours.json | JSON | Published sessions, timezones, and schedules for global stock exchanges and CME FX futures. |
| /llms.txt & /llms-full.txt | Markdown | Plain-text site map and token-dense dataset summary for language models. |
Mandatory CFD risk notice (FCA COBS 22.5): Whenever your application or agent displays retail CFD loss-rate figures from TradingLookup, include this sentence verbatim: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage.
Python & JavaScript SDKs + agent templates
Both packages use standard library HTTP clients with zero required runtime dependencies and no API keys.
Python SDK (pip install tradinglookup)
Python 3.9+ · MIT
Zero required dependencies; optional pip install "tradinglookup[pandas]" for DataFrame output with preserved metadata.
import tradinglookup as tl
catalog = tl.get_catalog()
firm = tl.lookup_prop_firm("topstep", market="futures")
comparison = tl.compare_prop_firms("ftmo", "fundednext", account_size=100000)
cfd = tl.get_cfd_loss_rates()
print(cfd["risk_warning"]) # FCA COBS 22.5 warning
hours = tl.get_market_hours(exchange="nyse")
open_now = tl.mcp_call("is_market_open", {"exchange": "lse"}) JavaScript / TypeScript SDK (npm install tradinglookup)
Node 18+ · ESM + .d.ts
Standard fetch client for Node 18+, Bun, Deno, and Cloudflare Workers covering REST snapshots and MCP tool calls.
import {
getCatalog,
lookupPropFirm,
comparePropFirms,
getCfdLossRates,
getMarketHours,
mcpCall,
} from 'tradinglookup';
const catalog = await getCatalog();
const firm = await lookupPropFirm('topstep', { market: 'futures', accountSize: 50000 });
const pair = await comparePropFirms(['topstep', 'apex'], { accountSize: 50000 });
const cfd = await getCfdLossRates();
const nyse = await getMarketHours({ exchange: 'NYSE' });
const openNow = await mcpCall('is_market_open', { exchange: 'LSE' }, { directory: true }); Human-readable datasets & tools
Every machine endpoint links back to the canonical source pages on TradingLookup.
- Open Data Catalog All CC BY 4.0 CSV and JSON datasets with Frictionless and Croissant metadata.
- Prop Firms Hub Futures, forex, and crypto prop firm fees, drawdown rules, and rule-change logs.
- CFD Loss Rates Retail CFD account loss-rate disclosures from UK and EU providers.
- Economic Calendar Scheduled central bank decisions and macro release dates from official agencies.
- Market Hours & Holidays Global stock exchange hours, holidays, and subscribable .ics calendar feeds.
- TradingLookup Discord Bot Read-only Discord slash commands and hourly rule-change alerts for trading servers.
Provenance, license & usage rules
- License (CC BY 4.0)All datasets returned through MCP, OpenAPI, and the SDKs are published under CC BY 4.0. Credit TradingLookup and preserve the canonical URL and check date on every figure.
- CFD risk warningWhenever retail CFD account loss rates are displayed or summarized, retain the verbatim FCA COBS 22.5 sentence: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage.
- No tracking or adviceAll machine endpoints are read-only and unauthenticated. Figures reflect what each firm or official agency published on the check date shown. Data only, not financial or trading advice.
- Drop-in rule filesDownload /for-ai-agents/SKILL.md, /for-ai-agents/cursorrules.txt, or /for-ai-agents/windsurfrules.txt directly into your project.