Skip to content

NEW-HEAT/gmp

 
 

Repository files navigation

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 plugin for Claude Code

This repository is a Claude Code plugin. It includes:

  • A google-maps-platform skill (skills/google-maps-platform/SKILL.md) that teaches Claude when and how to use GMP tools.
  • An MCP server (.mcp.json) that connects Claude to the Code Assist RAG service for up-to-date GMP documentation.
  1. Install Claude Code (installation guide)

  2. Add the MCP server from your command line:

    claude mcp add google-maps-platform-code-assist -- npx -y @googlemaps/code-assist-mcp@latest
    • Verify the installation by running claude mcp list.

    The skills/google-maps-platform/SKILL.md skill is automatically available to Claude Code when this repository is cloned locally or used as a plugin source.

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?

About

Google Maps Platform MCP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%