Skip to main content
MCP server CX Codex

apogeoapi-mcp — Claude Code MCP server: features and setup

Give an AI agent tools for country and city data, currency rates, and IP geolocation. The server needs an ApogeoAPI key to access the API.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env APOGEOAPI_KEY=<APOGEOAPI_KEY> --transport stdio apogeoapi-mcp -- npx -y @apogeoapi/mcp
Open on GitHub

What apogeoapi-mcp does

apogeoapi-mcp connects ApogeoAPI tools to an AI agent. The tools retrieve country, state, and city information, look up places, check currency rates, and locate IPv4 or IPv6 addresses. An agent can, for instance, identify a country from its code or return location details for an IP.

The tools are read-only. Claude Code can launch the server with npx, while the API key is passed through APOGEOAPI_KEY. The server cannot access the API without that key. Country and state data are available on the Free plan; city data, global search, rates, and IP geolocation require Basic+ or trial access.

What it helps with

  • look up a country using its ISO2 or ISO3 code
  • retrieve a country's states or provinces
  • check the current USD rate for a country's currency
  • locate an IP address by country and region

Example prompts for the agent

  • Find the country for this ISO2 code and return its capital and currency.
  • Look up the country, region, and timezone for IP address 8.8.8.8.
  • Check the current USD rate for Argentina's currency.

How to install apogeoapi-mcp

Platform CLI

claude mcp add --env APOGEOAPI_KEY=<APOGEOAPI_KEY> --transport stdio apogeoapi-mcp -- npx -y @apogeoapi/mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about apogeoapi-mcp

How do I install apogeoapi-mcp in Claude Code?

Run claude mcp add --env APOGEOAPI_KEY=<APOGEOAPI_KEY> --transport stdio apogeoapi-mcp -- npx -y @apogeoapi/mcp, replacing <APOGEOAPI_KEY> with your API key. The command passes it to the server as an environment variable.

What does apogeoapi-mcp do?

It makes ApogeoAPI tools available to an AI agent for country, state, and city data, currency rates, and IP geolocation. The tools are read-only.

Does IP geolocation work on the Free plan?

IP geolocation requires Basic+ or trial access. An API key is also required.

Similar MCP servers

All MCP servers for Backend and APIs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor