APIFor MCP server
Public data for every country, behind one API key.
This is the remote MCP server for APIFor. It gives your agent 10 public datasets and 45 data services through the same key and credits as the REST API. Sign in with OAuth or use an API key.
What's in it
Datasets (10): postal codes, airports, ports, World Bank indicators, universities, administrative regions, IP geolocation, legal entity identifiers (LEI), countries and cities.
Services (45):
- Web and lookups: web page to markdown, screenshots, HTML to PDF, phone number validation, domain lookup
- Compliance and trade: sanctions screening, import duty and landed cost, public tenders, product recalls, visa fees
- Companies and registers: company registers, company checks, financial regulator licences, trademarks, product registrations
- Places and transport: administrative boundaries, places, train stations, bus terminals, toll roads, schools, hospitals
- Prices and money: exchange rates, payment QR decoding, food prices, fuel prices, economic statistics
- Tax and payroll: VAT rates and tax ID checks, income tax, social contributions, minimum wages, per diem rates
- Weather and hazards: forecasts, weather alerts, earthquakes, tsunami alerts, volcano alert levels, air quality
- Time, faith and language: sunrise and sunset, Hijri calendar, public holidays, prayer times, Quran text, Bible text, English dictionary
The MCP server has one tool per service.
Coverage
Coverage differs by dataset, service and country, and some cover one country today. Check before you rely on one:
- Public catalog (no key): https://api.apifor.dev/v1/catalog
GET /v1/coveragelists every service with its countries, andGET /v1/<service>/coveragegives sources, licences and country-only fields. Both cost 0 credits with an API key.- Guide: https://apifor.dev/docs/coverage/
Server URL
https://mcp.apifor.dev/mcp
Streamable HTTP. Your client will open an OAuth sign-in the first time. If it can't do OAuth, send an API key from app.apifor.dev as Authorization: Bearer <key>.
Connect
Claude (web and desktop): Settings > Connectors > Add custom connector, then paste the URL above.
Claude Code:
claude mcp add --transport http apifor https://mcp.apifor.dev/mcp
Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"apifor": { "url": "https://mcp.apifor.dev/mcp" }
}
}
ChatGPT: Settings > Connectors, add a custom connector with the URL above (needs developer mode).
With an API key instead of OAuth:
{
"mcpServers": {
"apifor": {
"url": "https://mcp.apifor.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
Pricing
1,000 free credits, granted once after email verification (OAuth sign-in counts as verified). A dataset request costs 1 credit. Each service call costs a fixed number of credits, listed on the pricing page, and failed calls are refunded. Packs start at $5 for 5,000 credits. Credits never expire.
Links
Docs: https://apifor.dev/docs/mcp/ · Services: https://apifor.dev/services/ · REST API: https://api.apifor.dev/v1 · OpenAPI: https://api.apifor.dev/v1/openapi.json · Support: [email protected]
MIT licensed. Run by Khaisa Studio.