Google Maps Platform resources for AI

zihengzhaoo/11111
0 Stars 36 次浏览 更新于 2026-08-23

此仓库包含Google地图平台代码辅助工具包,这是一个模型上下文协议(MCP)服务器,通过基于官方最新的文档和代码示例来增强用于开发Google地图平台应用程序的大规模语言模型(LLMs)的响应。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "google-maps-platform-code-assist": {
      "args": [
        "-y",
        "@googlemaps/code-assist-mcp@latest"
      ],
      "command": "npx"
    }
  }
}

服务介绍

npm
Alpha
Contributors

Google Maps Platform resources for AI

Description

This repository contains the Google Maps Platform Code Assist toolkit, a Model Context Protocol (MCP) server that enhances the responses from large language models (LLMs) used for developing applications with the Google Maps Platform by grounding them in the official, up-to-date documentation and code samples.

Install the Google Maps Platform Code Assist extension for Gemini CLI

  1. Install the Gemini CLI (alternative installation methods)
npm install -g @google/gemini-cli
  1. Install the Google Maps Platform extension

    • Option 1 - Install Code Assist as a Gemini CLI extension with static preamble, the MCP tool, and basic Google Maps theme:
      gemini extensions install https://github.com/googlemaps/platform-ai.git
      
      • Verify the installation by running gemini mcp list.
    • Option 2 - Add the MCP server config manually to your ~/.gemini/settings.json file.
      {
        "mcpServers": {
          "google-maps-platform-code-assist": {
            "command": "npx",
            "args": ["-y", "@googlemaps/code-assist-mcp@latest"]
          }
        }
      }
      

Install the Google Maps Platform Code Assist toolkit for other MCP clients.

For information about installing and using the toolkit with any MCP client, as well as terms of use, see the Code Assist toolkit README.

Sample Prompts

Use these example prompts to get started with the Code Assist MCP server or supported AI agents:

  • Show me how to use the Routes API in Node.js.
  • What are the authentication options for Google Maps Platform?
  • Give me a code sample for displaying a map with markers.
  • Explain the difference between Place Autocomplete and Place Search.
  • How do I set up billing for Google Maps Platform?

相关 MCP 服务