Complete Google Maps MCP Server with 8 tools including geocoding, places search, directions, elevation data, and more using Google's latest APIs
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add google-vicpeacock --env GOOGLE_MAPS_API_KEY='<GOOGLE_MAPS_API_KEY>' -- node dist/index.js~/.codex/config.toml
[mcp_servers.google-vicpeacock]
command = "node"
args = ["dist/index.js"]
env = { GOOGLE_MAPS_API_KEY = "<GOOGLE_MAPS_API_KEY>" }
# codex mcp add google-vicpeacock --env GOOGLE_MAPS_API_KEY='<GOOGLE_MAPS_API_KEY>' -- node dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"google-vicpeacock": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-vicpeacock": {
"type": "stdio",
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-vicpeacock": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-vicpeacock": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-vicpeacock": {
"command": "node",
"args": [
"dist/index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
}
}
}
}Environment variables
GOOGLE_MAPS_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.