How to integrate Google Maps MCP with Hermes

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows. This guide explains the easiest and most robust way to connect your Google Maps account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Google Maps logoGoogle Maps
Oauth2Api Key

Google Maps is a leading mapping and geolocation service for finding locations, routes, and businesses worldwide. It helps users access real-time navigation, geocoding, and mapping data for seamless location-based experiences.

19 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Google Maps account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Google Maps with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Google Maps with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Google Maps

Ask your agent to connect to Google Maps, or simply request any Google Maps-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Google Maps connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Google Maps or request any Google Maps-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Google Maps MCP server, and what's possible with it?

The Google maps MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Maps account. It provides structured and secure access to advanced location, routing, and place data, so your agent can perform actions like finding places, calculating routes, searching nearby locations, and generating map embeds on your behalf.

  • Instant directions and route planning: Let your agent fetch detailed step-by-step directions or calculate optimal routes between addresses, including support for waypoints and various travel modes.
  • Proximity-based place search: Effortlessly search for restaurants, parks, or other place types within a specific area, filtered by your preferences and needs.
  • Distance and travel time calculations: Have your agent determine travel distance and estimated time between multiple origins and destinations, factoring in real-world conditions and transport modes.
  • Text-based place discovery: Ask your agent to locate places using natural language queries like “coffee shops near Central Park” or “best hotels in Tokyo.”
  • Interactive map embedding: Generate embeddable map URLs and HTML code to display custom maps, directions, or street views directly in your apps or websites—no manual coding required.

Way Forward

With Google Maps connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

Every Google Maps action and event your agent gets out of the box.

Autocomplete Place Predictions

Returns place and query predictions for text input.

Compute Route Matrix

Calculates travel distance and duration matrix between multiple origins and destinations using the modern Routes API; supports OAuth2 authentication and various travel modes.

Geocode Address With Query

Tool to map addresses to geographic coordinates with query parameter.

Geocode Destinations

Tool to perform destination lookup and return detailed destination information including primary place, containing places, sub-destinations, landmarks, entrances, and navigation points.

Reverse Geocode Location

Tool to convert geographic coordinates (latitude and longitude) to human-readable addresses using reverse geocoding.

Geocode Place by ID

Tool to perform geocode lookup using a place identifier to retrieve address and coordinates.

Geocoding API

Convert addresses into geographic coordinates (latitude and longitude) and vice versa (reverse geocoding), or get an address for a Place ID.

Geolocate Device

Tool to determine location based on cell towers and WiFi access points.

Get 2D Map Tile

Tool to retrieve a 2D map tile image at specified coordinates for building custom map visualizations.

Get 3D Tiles Root

Tool to retrieve the 3D Tiles tileset root configuration for photorealistic 3D map rendering.

Get Place Details

Retrieves comprehensive details for a place using its resource name (places/{place_id} format).

Get Route

Calculates one or more routes between two specified locations.

Lookup Aerial Video

Tool to look up an aerial view video by address or video ID.

Embed Google Map

Tool to generate an embeddable Google Map URL and HTML iframe code.

Nearby search

Searches for places (e.

Get Place Photo

Retrieves high quality photographic content from the Google Maps Places database.

Render Aerial Video

Starts rendering an aerial view video for a US postal address.

Text Search

Searches for places on Google Maps using a textual query (e.

Create Tiles Session

Tool to create a session token required for accessing 2D Tiles and Street View imagery.

FAQ

Frequently asked questions

With a standalone Google Maps MCP server, the agents and LLMs can only access a fixed set of Google Maps tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Maps and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Maps tools.

Yes, absolutely. You can configure which Google Maps scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Maps data and credentials are handled as safely as possible.

Start with Google Maps.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Google Maps tool your agent needs.Free to start.

Start building