Connects Claude to Google Maps Platform documentation through retrieval-augmented generation. Exposes two tools: retrieve-google-maps-platform-docs for searching official docs, code samples, and GitHub repos with optional API filtering, and retrieve-instructions for foundational best practices. Particularly useful when building Maps, Routes, or Places API integrations and you need authoritative implementation guidance without context switching. Note that the npm package is deprecated as of July 2026 in favor of the remote MCP server hosted at mapscodeassist.googleapis.com. Works standalone or as a Gemini CLI extension with additional theming and skills.
[][npm-pkg]
[!WARNING] The npm version of Google Maps Platform Code Assist is deprecated. It will no longer be available as of July 1, 2026. Please use the securely hosted remote MCP version documented in this README as the primary method of connection.
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.
You have access to the gmp-code-assist MCP server with these essential tools:
retrieve-google-maps-platform-docs: Searches Google Maps Platform documentation, code samples, architecture center, and GitHub repositories via RAG.
llmQuery (Required string query), filter (Optional API/product area filter), source (Optional string caller identifier up to 64 chars).retrieve-instructions: Retrieves foundational context on Google Maps Platform best practices.
name (Required string, expected format is simply "instructions").npm install -g @google/gemini-cli
Option 1 - Install Code Assist as a Gemini CLI extension with a skill, the Code Assist MCP tool, and a Google Maps Platform CLI theme:
gemini extensions install https://github.com/googlemaps/platform-ai.git
gemini mcp list.Option 2 - Add the MCP server config manually to your ~/.gemini/settings.json file to securely connect to the Google-hosted remote service:
{
"mcpServers": {
"gmp-code-assist": {
"httpUrl": "https://mapscodeassist.googleapis.com/mcp"
}
}
}
For information about installing and using the toolkit with any MCP client, as well as terms of use, see the Code Assist toolkit README.
Use these example prompts to get started with the Code Assist MCP server or supported AI agents: