MCP directory
G

geonames-mcp-server

by github.com/cyanheads · v0.2.1 · updated Nov 16, 2026

Search GeoNames places, walk admin hierarchies, reverse geocode, get postal codes and country info.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://geonames.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http geonames-mcp-server https://geonames.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • GEONAMES_USERNAMEsecret

    GeoNames account used when a call passes no geonamesUsername. Free accounts must enable free web services on their geonames.org account page.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • GEONAMES_USERNAMEsecret

    GeoNames account used when a call passes no geonamesUsername. Free accounts must enable free web services on their geonames.org account page.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

More from github.com/cyanheads

More MCP servers