opencage geocoding mcp for Gemini CLI
io.github.opencagedata/opencage-geocoding-mcp
MCP server for OpenCage geocoding API
client:Gemini CLI
transport:stdio
runtime:npm
Install opencage geocoding mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"opencage-geocoding-mcp": {
"command": "npx",
"args": [
"-y",
"@opencage/mcp-opencage-server"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs