1. Connecting Cursor, Claude Desktop & Custom AI Agents
Add FootballAPI's Remote MCP endpoint to your MCP config or invoke the REST endpoints keyless with an x402 Base Mainnet USDC wallet.
Cursor / Claude Desktop MCP Configuration & JSON-RPC Probe
Handshake and tools/list are free; tool execution uses your fb_live_ key or OAuth 2.1 session.
curl -sS -X POST "https://api.footballapi.dev/mcp" \
-H "content-type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'import requests
res = requests.post(
"https://api.footballapi.dev/mcp",
json={"jsonrpc": "2.0", "id": 1, "method": "tools/list"},
timeout=10,
)
print([t["name"] for t in res.json()["result"]["tools"]])// Add to .cursor/mcp.json:
// {
// "mcpServers": {
// "footballapi": {
// "url": "https://api.footballapi.dev/mcp",
// "headers": { "x-api-key": "fb_live_YOUR_API_KEY" }
// }
// }
// }{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{ "name": "get_live_football_matches" },
{ "name": "get_football_fixtures" },
{ "name": "get_league_standings" },
{ "name": "get_match_detail_and_lineups" },
{ "name": "get_team_roster" }
]
}
}Interactive Football Analytics Underwriting Terminal · POST /v1/mcp
Verify real-time latency, parcel credit math & JSON schema
Frequently Asked Questions
- Can autonomous agents pay per call without creating an account?
- Yes. Every /v1/* endpoint supports x402 Base Mainnet USDC micropayments at $0.002 USDC/call (2,000 atomic units on eip155:8453) with Coinbase Bazaar Discovery schemas.