Skip to content
MCP server

APIFor

Remote MCP server giving AI agents public datasets like holidays, postal codes

APIFor is a freemium MCP server for public data access. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
API, CLI
Runs
Remotely
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http apifor https://mcp.apifor.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "apifor": {
      "type": "http",
      "url": "https://mcp.apifor.dev/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.apifor.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "apifor": {
      "url": "https://mcp.apifor.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "apifor": {
      "type": "http",
      "url": "https://mcp.apifor.dev/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.apifor.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add apifor --url https://mcp.apifor.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.apifor]
url = "https://mcp.apifor.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.apifor.dev/mcp

Enter a Name (for example "APIFor"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "apifor": {
      "type": "http",
      "url": "https://mcp.apifor.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "apifor": {
          "httpUrl": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http apifor https://mcp.apifor.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "apifor": {
          "serverUrl": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "apifor": {
          "url": "https://mcp.apifor.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "apifor": {
          "type": "streamableHttp",
          "url": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "apifor": {
          "url": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "apifor": {
          "url": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "apifor": {
          "url": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "apifor": {
          "url": "https://mcp.apifor.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About APIFor

APIFor exposes a set of public reference datasets to AI clients through a single remote endpoint. Holidays, postal codes, airports and university records are among the datasets an agent can query, and the same credits also cover the REST API.

You connect a compatible MCP client to the server URL and sign in with OAuth or a Bearer API key. Calls draw from the same prepaid credit balance as REST requests, and the MCP and REST deployments are separate, so tool availability should be checked after connecting.

The service suits developers building agents or assistants that need country-level lookups without wiring up several data sources. Coverage varies by dataset, and some datasets only cover one country so far.

What it does

Remote MCP endpoint
Connects to MCP clients over streamable HTTP without a local install.
OAuth or API key access
Sign in with OAuth or send a Bearer key in the request header.
Multi-country public datasets
Covers holidays, postal codes, airports and universities across several countries.
Prepaid credit billing
Pay per request with credit packs that never expire and no overage charges.
Shared REST API
MCP calls use the same credits as the REST endpoints.

Good for

  • Letting an assistant look up public holidays for scheduling across countries
  • Finding postal codes or airports for travel and logistics workflows
  • Retrieving university listings for education research or admissions tools
  • Adding public reference data to an agent without building separate integrations

Pricing

Freemium, from $5 a month

1,000 free requests once; prepaid packs from $5 for 5,000 requests

Prices change. Check apifor.dev before you buy.

APIFor FAQ

How much does APIFor cost to start?

You get 1,000 free requests once after verifying your email, and OAuth sign-in counts as verified. After that, prepaid packs start at $5 for 5,000 requests.

Do unused credits expire?

No. Credits never expire and carry over between packs.

Which authentication methods are supported?

The server supports OAuth sign-in, and clients that cannot use OAuth can send an API key as a Bearer token.

Do the datasets cover every country?

No. Coverage depends on the source, and some datasets currently cover only one country.

How do I add APIFor to Claude Code?

Run this command in your terminal: claude mcp add --transport http apifor https://mcp.apifor.dev/mcp

What are the best alternatives to APIFor?

The closest alternatives to APIFor are KnowAPI and PPN Hub — public APIs over MCP.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers