
Opencage Geocoding Mcp
Wraps the OpenCage geocoding API so Claude can convert addresses to coordinates and back. You get three tools: forward geocoding that takes a place name and returns lat/long plus metadata like timezone and currency, reverse geocoding that turns coordinates into addresses, and a status check for your API usage. Parameters let you filter by country, set bounding boxes, limit results, or request responses in different languages. The developers are clear about the sweet spot: this is for interactive querying during conversations, not bulk processing. If you're geocoding CSV files or database records, you're better off writing a script that hits their API directly. They even provide a SKILL file to train models on their API conventions.
- GitHub stars
- 19
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Sep 11, 2025
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
geocode-forwardConvert an address or place name to coordinates and information about that location.
Convert an address or place name to coordinates and information about that location.
No parameter schema in public metadata yet.
geocode-reverseConvert coordinates to an address and information about that location
Convert coordinates to an address and information about that location
No parameter schema in public metadata yet.
get-opencage-infoCheck your current API usage and rate limits.
Check your current API usage and rate limits.
No parameter schema in public metadata yet.
Sponsors
Configuration
YOUR_API_KEY*secretYour API key for the service
Readme
OpenCage Geocoding MCP Server
An MCP (Model Context Protocol) server that provides geocoding capabilities using the OpenCage geocoding API. This server allows you to convert between addresses and geographic coordinates.
PLEASE NOTE: the examples shown here are based on an integration with claude.ai's desktop client. MCP as a concept is supported by other services, but may require a slightly different configuration.
Features
- Forward Geocoding: Convert addresses or place names to coordinates (latitude/longitude)
- Reverse Geocoding: Convert coordinates to addresses
- API Status Monitoring: Check your API usage and rate limits (assuming your penCage account has hard limits).
Prerequisites
- Node.js (version 20 or higher)
- OpenCage geocoding API Key: Sign up on the OpenCage website to get a free-trial geocoding API key
Installation
-
Is MCP the right tool?
This MCP is the right tool for small amounts of geocoding, for example while manually prompting an LLM.
Details
- Repository
- github.com/opencagedata/opencage-geocoding-mcp
- Package
@opencage/mcp-opencage-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active