MCP.so
登录

Google Maps MCP Server

@Moe03

关于 Google Maps MCP Server

Simplest remote MCP server implementation

基本信息

分类

媒体与设计

许可证

MIT license

运行时

node

传输方式

stdio

发布者

Moe03

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-hello-world-moe03": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp/google-maps",
        "-f",
        "src/google-maps/Dockerfile",
        "."
      ]
    }
  }
}

工具

14

`address` (string)

location, formatted_address, place_id

`latitude` (number)

formatted_address, place_id, address_components

`query` (string)

array of places with names, addresses, locations

`place_id` (string)

name, address, contact info, ratings, reviews, opening hours

`origins` (string[])

distances and durations matrix

`locations` (array of {latitude, longitude})

elevation data for each point

`origin` (string)

route details with steps, distance, duration

概览

What is Google Maps MCP Server?

A Model Context Protocol server that provides tools for interacting with the Google Maps API. It allows AI assistants to geocode addresses, search for places, get directions, calculate distances, retrieve elevation data, and obtain place details.

How to use Google Maps MCP Server?

Requires a valid Google Maps API key. Can be run via Docker or npx. Configure it in the MCP client (e.g., Claude Desktop) by adding an entry to claude_desktop_config.json with the command docker or npx and the environment variable GOOGLE_MAPS_API_KEY.

Key features of Google Maps MCP Server?

  • Geocode addresses to coordinates and reverse geocode coordinates to addresses.
  • Search for places using text queries with optional location and radius filters.
  • Retrieve detailed place information including ratings, reviews, and opening hours.
  • Calculate distance and travel time matrices between multiple origins and destinations.
  • Get elevation data for one or more geographic locations.
  • Obtain driving, walking, bicycling, or transit directions between two points.

Use cases of Google Maps MCP Server?

  • Provide location-based answers and navigation assistance in AI chatbots.
  • Automate address validation and coordinate conversion for logistics applications.
  • Integrate place discovery and details into travel planning or recommendation systems.
  • Enable route and distance calculations for delivery or route optimization workflows.

FAQ from Google Maps MCP Server

What API key do I need?

You need a Google Maps API key. Get one by following Google's instructions at https://developers.google.com/maps/documentation/javascript/get-api-key#create-api-keys.

How can I run the server?

You can run it via Docker (`docker run ... mcp

评论

媒体与设计 分类下的更多 MCP 服务器