The official Google Maps MCP server provides access to Google Maps Platform APIs.
npx -y @modelcontextprotocol/server-google-maps
{
"mcpServers": {
"google-maps": {
"env": {
"GOOGLE_MAPS_API_KEY": "your-key"
},
"args": [
"-y",
"@modelcontextprotocol/server-google-maps"
],
"command": "npx"
}
}
}Calculate distances between multiple points
{
"type": "object",
"required": [
"origins",
"destinations"
],
"properties": {
"origins": {
"type": "array"
},
"destinations": {
"type": "array"
}
}
}// Input
{
"origins": [
"Prague"
],
"destinations": [
"Vienna"
]
}// Output
{
"rows": [
{
"elements": [
{
"distance": "334 km",
"duration": "3h 30m"
}
]
}
]
}Convert address to coordinates
{
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string"
}
}
}// Input
{
"address": "Prague, Czech Republic"
}// Output
{
"lat": 50.0755,
"lng": 14.4378
}Get directions between locations
The official Google Maps MCP server provides access to Google Maps Platform APIs.
Google Maps provides 4 tools including distance_matrix, geocode, get_directions, and 1 more.
Google Maps offers a free tier with 500 calls per month. For higher usage, paid plans start at €0/month.
You can install Google Maps using the following command: npx -y @modelcontextprotocol/server-google-maps. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
{
"type": "object",
"required": [
"origin",
"destination"
],
"properties": {
"origin": {
"type": "string"
},
"destination": {
"type": "string"
}
}
}// Input
{
"origin": "Prague",
"destination": "Brno"
}// Output
{
"distance": "205 km",
"duration": "2h 10m"
}Search for places near a location
{
"type": "object",
"required": [
"query",
"location"
],
"properties": {
"query": {
"type": "string"
},
"location": {
"type": "string"
}
}
}// Input
{
"query": "coworking",
"location": "Prague"
}// Output
{
"results": [
{
"name": "Impact Hub Prague",
"rating": 4.6
}
]
}Google Maps is listed under the Data & Analytics category in the AgentForge MCP registry.
Google Maps has a current uptime of 99.9% with an average response time of 230ms.
To connect Google Maps, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Google Maps's tools via the Model Context Protocol.