Mcp Google Map

v1.0.0โ€ขAPIsโ€ขstable

A powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.

agent-skillaiai-agentdivegeocoding
Share:
308
Stars
0
Downloads
0
Weekly
0/5

What is Mcp Google Map?

Mcp Google Map is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to powerful model context protocol (mcp) server providing comprehensive google maps api integration with llm processing capabilities.

A powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.

This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • search_nearby
  • get_place_details
  • maps_geocode
  • maps_reverse_geocode
  • maps_distance_matrix

Use Cases

Google Maps API integration
Geospatial data for agents
Geocoding and directions
cablate

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @cablate/mcp-google-map

Manual Installation

npx -y @cablate/mcp-google-map

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Mcp Google Map

The @cablate/mcp-google-map MCP server provides a comprehensive Google Maps API integration with 14 atomic tools and 4 composite tools, covering geocoding, reverse geocoding, nearby search, place details, directions, distance matrix, elevation, timezone, weather, air quality, and static map generation. It connects AI agents and LLM-based workflows to Google's mapping infrastructure so they can answer location questions, plan multi-stop routes, compare places, and retrieve real-time environmental data. The server runs in stdio mode for local clients or as an HTTP server for networked deployments.

Prerequisites

  • Node.js 16 or higher with npx available
  • A Google Maps API key with the Maps, Places, Directions, Geocoding, and Elevation APIs enabled (https://console.cloud.google.com/)
  • Claude for Desktop, Cursor, VS Code, or another MCP-compatible client
  • Optional: Google Maps Weather and Air Quality APIs enabled for weather/AQI tools
1

Obtain a Google Maps API key

Go to the Google Cloud Console, create or select a project, enable the Maps JavaScript API, Places API, Directions API, Geocoding API, and Elevation API. Create an API key under Credentials.

# Visit: https://console.cloud.google.com/apis/credentials
2

Test the server from the command line

Verify the package works and your API key is valid by running a quick geocode command directly.

npx -y @cablate/mcp-google-map exec geocode '{"address":"Eiffel Tower, Paris"}'
3

Add the server to your MCP client configuration

Edit your claude_desktop_config.json (or equivalent config for Cursor/VS Code) to register the server in stdio mode, passing your API key as an environment variable.

{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@cablate/mcp-google-map", "--stdio"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
4

Restart your AI client

Close and reopen Claude for Desktop (or reload the MCP server in your editor) so it picks up the new server configuration.

5

Limit active tools to reduce context usage (optional)

If you only need specific tools, set the GOOGLE_MAPS_ENABLED_TOOLS environment variable to a comma-separated list of tool names. This reduces the number of tool definitions sent to the model.

{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@cablate/mcp-google-map", "--stdio"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "YOUR_API_KEY_HERE",
        "GOOGLE_MAPS_ENABLED_TOOLS": "maps_geocode,maps_search_nearby,maps_directions"
      }
    }
  }
}

Mcp Google Map Examples

Client configuration

Full claude_desktop_config.json entry for the @cablate/mcp-google-map server in stdio mode.

{
  "mcpServers": {
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@cablate/mcp-google-map", "--stdio"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "AIzaSyYourKeyHere",
        "GOOGLE_MAPS_ENABLED_TOOLS": "maps_geocode,maps_reverse_geocode,maps_search_nearby,maps_place_details,maps_directions,maps_distance_matrix,maps_elevation,maps_timezone"
      }
    }
  }
}

Prompts to try

Example prompts that exercise the tools exposed by the Google Maps MCP server.

- "Find coffee shops within 500 meters of the Louvre Museum in Paris"
- "What are the driving directions from San Francisco to Yosemite National Park?"
- "How long does it take to drive from New York to Boston vs. taking the train?"
- "What is the elevation at the summit of Mount Fuji?"
- "Plan an optimized route for visiting 5 museums in London"
- "Compare these three hotels in Tokyo and tell me which is closest to the train station"

Troubleshooting Mcp Google Map

API calls return 'REQUEST_DENIED' or 'API key not valid'

Ensure the specific Google Maps APIs you are using (Places, Geocoding, Directions, Elevation, etc.) are enabled for your project in the Google Cloud Console. The API key must have permissions for each service individually. Also check that billing is enabled on your Google Cloud project.

The server starts but no tools appear in the AI client

Confirm the config uses '--stdio' in the args array. Without the stdio flag the server runs in HTTP mode and the MCP client cannot connect via stdio transport. Restart the client after fixing the configuration.

Too many tool definitions slow down the model or hit context limits

Set the GOOGLE_MAPS_ENABLED_TOOLS environment variable to a comma-separated list of only the tools you need. For example: 'maps_geocode,maps_directions,maps_search_nearby'. This reduces the number of tool schemas injected into the model context.

Frequently Asked Questions about Mcp Google Map

What is Mcp Google Map?

Mcp Google Map is a Model Context Protocol (MCP) server that powerful model context protocol (mcp) server providing comprehensive google maps api integration with llm processing capabilities. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Mcp Google Map?

Install via npm with the command: npx -y @cablate/mcp-google-map. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Mcp Google Map?

Mcp Google Map works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Mcp Google Map free to use?

Yes, Mcp Google Map is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-google-map": { "command": "npx", "args": ["-y", "@cablate/mcp-google-map"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use Mcp Google Map?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides