FiveM.tools API and MCP
FiveM.tools data is free to read for people, programs and AI assistants: no key, no login, no cookies, no JavaScript. It comes from the official Cfx.re server list and is refreshed every minute. Every link below works right now.
What you can look up
| Question | HTML page | JSON API | Notes |
|---|---|---|---|
| Which server runs on an IP? | /ip/89.38.101.83 | /api/v1/servers?ip=89.38.101.83 | IPv4, port optional. Lists every server on that IP. |
| Browse all server IPs | /ip/ | /api/v1/servers?q=46.203&limit=50 | Directory by the first number of the IP. |
| Search by name | /servers?q=roleplay | /api/v1/servers?q=roleplay&limit=10 | Matches name, tags, locale, code or IP. |
| Busiest servers in a country | /servers?country=TR | /api/v1/servers?country=TR&limit=10 | ISO 3166-1 alpha-2. Also /country/tr. |
| Servers with a tag | /servers?tag=roleplay | /api/v1/servers?tag=roleplay&limit=10 | Exact tag. |
| Next page of results | /servers?page=2 | /api/v1/servers?limit=50&offset=50 | HTML: 50 per page. JSON: limit up to 50 plus offset. |
| One server by CFX ID | /servers/roal7g | /api/v1/servers/roal7g | The code in cfx.re/join/{id}. |
| Player history | /servers/roal7g | /api/v1/servers/roal7g/history?range=24h | range: 1h, 3h, 6h, 12h, 24h, 48h, 72h, 7d, 30d, 1y. |
| Compare 2 or 3 servers | /compare?ids=roal7g | /api/v1/compare?ids=roal7g,j4rmqol | Same numbers side by side: now, 24h and 7-day peak and average. |
| Busiest and quietest hours | /servers/roal7g | /api/v1/servers/roal7g | In the "activity" field: 3-hour UTC windows over the last 7 days. null with under 3 days of data. |
| Server badge (image) | /servers/roal7g | /servers/roal7g/badge.svg | SVG with name, online state and players, for websites and Discord. Use the JSON for data. |
| Totals and top servers | / | /api/v1/stats?top=10 | Players and servers online now. |
| Live check of a join link | /fivem-ip-finder | /api/v1/lookup?server=cfx.re/join/roal7g | Asks Cfx.re directly; stricter limit (20/min). |
Responses and errors
- JSON with a
datablock: source andupdatedAt(ISO 8601, UTC). - 400 bad input (not an IPv4 address, unknown range), 404 nothing found, 429 rate limit (see
Retry-After), 503 list still loading after a restart. Errors are{"error": "..."}. - Rate limit: 120 requests per minute per IP. Live join-link lookups: 20 per minute.
- Caching: JSON 30 seconds, HTML pages are generated per request.
- Limits of the data: only servers in the public Cfx.re list; servers that hide their IP behind the Cfx.re proxy cannot be found by IP; offline servers are not in IP results.
For AI assistants and tools
- MCP server (Streamable HTTP, no auth):
https://fivem.tools/mcp. Tools: search_servers, find_server_by_ip, get_server, get_server_history, lookup_server_ip, get_global_stats, list_blog_posts. - OpenAPI 3.1: /openapi.json (for GPT Actions and other tool callers).
- Plain text overview: /llms.txt.