gmp-code-assist
OfficialProvides tools for retrieving Google Maps Platform documentation, code samples, and best practices to ground LLM responses in official Google Maps Platform resources.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gmp-code-assistShow me a JavaScript example for the Directions API."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
[][npm-pkg]
Google Maps Platform resources for AI
Description
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.
Related MCP server: google-maps-mcp-server
🔧 Available MCP Tools (gmp-code-assist)
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.Parameters:
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.Parameters:
name(Required string, expected format is simply "instructions").
Install the Google Maps Platform Code Assist extension for Gemini CLI
Install the Gemini CLI (alternative installation methods)
npm install -g @google/gemini-cliInstall the Google Maps Platform extension
Option 1 - Install Code Assist as a Gemini CLI extension (includes context prompt, Code Assist MCP tool, and Google Maps Platform CLI theme):
gemini extensions install https://github.com/googlemaps/platform-ai.gitVerify the installation by running
gemini mcp list.
Option 2 - Add the MCP server config manually to your
~/.gemini/settings.jsonfile to securely connect to the Google-hosted remote service:{ "mcpServers": { "gmp-code-assist": { "httpUrl": "https://mapscodeassist.googleapis.com/mcp" } } }
Google Maps Platform Agent Skills
To equip your AI agents with specialized, portable Google Maps Platform workflows and best practices, check out the official Google Maps Platform Agent Skills repository.
Install the agent skills in Gemini CLI:
gemini skills install https://github.com/googlemaps/agent-skills.gitInstall 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 and display it on a Map in React + Typescript.
I'm upgrading my map from 2D to 3D Phtotorealistic - what are my options and how would I do that with my existing codebase?
Change my Places API (new) Text Search API implementtaion to use Places UI Kit. Estimate the amount of cost savings per user this change will make.
Explain the difference between Address Validation and Geocoding. Which one should I apply for my current codebase for an ecommmerce checkout use case and why?
I need an API key - can you get one and add it to my app envrionment secrets?
This server cannot be deployed
Maintenance
Related MCP Connectors
The Google Maps MCP server is a fully-managed server provided by the Maps Grounding Lite API that connects AI applications to Google Maps Platform services. It provides three main tools for building LLM applications: searching for places, looking up weather information, and computing routes with details like distance and travel time. The server acts as a proxy that translates Google Maps data into a format that AI applications can understand, enabling agents to accurately answer real-world location and travel queries.
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Live Google Maps business search, review, and photo data for AI agents over MCP.
- geoOAuthco.thinair
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables users to search and fetch Google's Gemini API documentation directly within an MCP-compliant environment. It provides structured access to guides and references for features like function calling, embeddings, and text generation.2-
- AlicenseAqualityCmaintenanceProduction-ready MCP server for Google Maps Platform APIs, providing 11 tools for directions, places, geocoding, traffic, and road data to empower AI agents with location intelligence.114Apache 2.0
- AlicenseNot gradedqualityBmaintenanceA TypeScript MCP server that exposes Google Maps Platform APIs as tools for LLMs, providing real map data like directions, transit routes, place search, address validation, photos, and elevation.15 npm9GPL 3.0
- AlicenseNot gradedqualityDmaintenanceMCP server that retrieves up-to-date Google Maps Platform documentation and code samples to ground AI-generated code in official guidance.382 npmISC