Google Maps MCP Server Enhanced logo

Google Maps MCP Server Enhanced

Community
Garblesnarff

A comprehensive Model Context Protocol (MCP) server that provides 14 powerful Google Maps tools for location services, visual mapping, weather data, and environmental information. Perfect for camping trip planning, outdoor research, location analysis, and any application requiring rich geographic data.

PublisherGarblesnarff
Repositorygoogle-maps-mcp
LanguageTypeScript
Forks
4
Stars
11
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Google Maps MCP Server Enhanced exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 4 forks from the linked repository.

Google Maps MCP Server Enhanced

A comprehensive Model Context Protocol (MCP) server that provides 14 powerful Google Maps tools for location services, visual mapping, weather data, and environmental information. Perfect for camping trip planning, outdoor research, location analysis, and any application requiring rich geographic data.

🌟 Features

🗺️ Core Mapping (6 tools)

  • Geocoding: Convert addresses to coordinates
  • Reverse Geocoding: Convert coordinates to addresses
  • Places Search: Find businesses, landmarks, and points of interest
  • Place Details: Get comprehensive information about specific places
  • Distance Matrix: Calculate travel times and distances between multiple points
  • Directions: Get detailed turn-by-turn directions with multiple travel modes

📸 Visual Mapping (2 tools)

  • Street View: Get panoramic street-level imagery with customizable viewing angles
  • Static Maps: Generate static map images in multiple styles (roadmap, satellite, terrain, hybrid) with markers

🌤️ Environmental Data (6 tools)

  • Weather: Current conditions and forecasts for trip planning
  • Air Quality: Air quality indices and pollutant data for outdoor activities
  • Solar: Solar irradiance data for solar power planning at campsites
  • Pollen: Pollen and allergy information for outdoor activities
  • Elevation: Elevation data for terrain analysis
  • Enhanced Routing: Advanced route planning with traffic awareness

🎯 Perfect For

  • 🏕️ Camping & Outdoor Planning: Weather, terrain, and site analysis
  • 🔍 Research Projects: Location data gathering and environmental monitoring
  • 🚗 Travel Applications: Route planning with real-time conditions
  • 📊 Data Analysis: Geographic data collection and visualization
  • 🏢 Business Applications: Location intelligence and market analysis

📋 Prerequisites

  • Node.js (v18+)
  • Google Cloud Platform Account with billing enabled
  • Google Maps API Key with required APIs enabled

⚙️ Setup

1. Clone and Install

bash
git clone https://github.com/yourusername/google-maps-mcp-server.git
cd google-maps-mcp-server
npm install

2. Google Cloud Setup

Enable these APIs in Google Cloud Console:

Required APIs:

  • Maps JavaScript API
  • Geocoding API
  • Places API
  • Directions API
  • Distance Matrix API
  • Elevation API
  • Maps Static API (for static map images)
  • Street View Static API (for street view images)

Environmental APIs (Optional but Recommended):

  • Air Quality API
  • Solar API
  • Pollen API
  • Weather API

3. Get API Key

  1. In Google Cloud Console → APIs & Services → Credentials
  2. Create API Key
  3. Restrict the key to the APIs listed above (recommended for security)

4. Build the Server

bash
npm run build

🔧 Claude Desktop Integration

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "google-maps": {
      "command": "node", 
      "args": ["/path/to/google-maps-mcp-server/dist/index.js"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "your-api-key-here"
      }
    }
  }
}

🛠️ Tool Reference

📍 Location Services

ToolPurposeExample Use
maps_geocodeAddress → Coordinates"Convert 'Yellowstone National Park' to lat/lng"
maps_reverse_geocodeCoordinates → Address"What's at coordinates 44.4280, -110.5885?"
maps_search_placesFind nearby places"Find campgrounds near Yellowstone"
maps_place_detailsDetailed place info"Get hours, reviews, contact info for a campground"

🚗 Navigation & Distance

ToolPurposeExample Use
maps_directionsTurn-by-turn directions"Driving directions from Chicago to Yellowstone"
maps_distance_matrixMulti-point distances"Travel times between 5 potential campsites"
maps_routesEnhanced routing"Optimal route avoiding traffic and tolls"
maps_elevationTerrain elevation"Elevation profile for hiking trail"

📸 Visual Mapping

ToolPurposeExample Use
maps_street_viewStreet-level imagery"See what the campground entrance looks like"
maps_static_mapStatic map images"Satellite view of research area with markers"

🌤️ Environmental Data

ToolPurposeExample Use
maps_weatherWeather forecasts"5-day forecast for camping trip"
maps_air_qualityAir pollution data"Air quality for outdoor activities"
maps_solarSolar irradiance"Solar panel potential at campsite"
maps_pollenAllergy information"Pollen levels for sensitive individuals"

💡 Usage Examples

Trip Planning Workflow

bash
# 1. Find potential campsites
maps_search_places(query="campgrounds near Glacier National Park")

# 2. Get detailed information
maps_place_details(place_id="ChIJ...")

# 3. Check weather conditions  
maps_weather(latitude=48.7596, longitude=-113.7870, forecast_days=5)

# 4. Get visual confirmation
maps_street_view(location="Going-to-the-Sun Road entrance")
maps_static_map(center="48.7596,-113.7870", maptype="terrain", zoom=12)

# 5. Plan optimal route
maps_directions(origin="Chicago, IL", destination="Glacier National Park")

Research Documentation

bash
# Comprehensive location analysis
maps_geocode(address="Remote research location")
maps_elevation(locations=[{latitude: 45.123, longitude: -110.456}])
maps_air_quality(latitude=45.123, longitude=-110.456)
maps_static_map(center="45.123,-110.456", maptype="satellite", 
               markers=[{location: "45.123,-110.456", color: "red"}])

🎨 Visual Capabilities

Street View Options

  • Viewing Angles: Control heading (0-360°), pitch (-90° to 90°), field of view (10-120°)
  • Image Sizes: Up to 640x640 pixels
  • Location Input: Addresses or exact coordinates

Static Map Styles

  • Roadmap: Standard road map view
  • Satellite: Aerial imagery
  • Terrain: Physical features and elevation
  • Hybrid: Satellite imagery with road labels

Custom Markers

  • Colors: red, blue, green, purple, yellow, gray, orange, white
  • Labels: A-Z, 0-9 for identification
  • Multiple Points: Mark routes, waypoints, points of interest

🔒 Security Best Practices

API Key Security

  • ✅ Use environment variables (never commit keys to code)
  • ✅ Restrict API key to only required APIs
  • ✅ Set up API key restrictions (HTTP referrers, IP addresses)
  • ✅ Monitor API usage in Google Cloud Console
  • ✅ Rotate keys regularly

Usage Monitoring

  • Set up billing alerts for unexpected usage
  • Monitor API quotas and rate limits
  • Use Cloud Monitoring for performance tracking

💰 Cost Management

Free Tier Usage

  • Most APIs include generous free monthly quotas
  • Visual APIs (Street View, Static Maps) have free usage limits
  • Environmental APIs may have different pricing

Cost Optimization Tips

  • Cache results when appropriate (especially for static location data)
  • Use batch requests (Distance Matrix) for multiple calculations
  • Choose appropriate detail levels for Places API requests

🐛 Troubleshooting

Common Issues

ErrorCauseSolution
REQUEST_DENIEDAPI not enabledEnable required APIs in Google Cloud Console
INVALID_REQUESTMissing parametersCheck required parameters for each tool
OVER_QUERY_LIMITQuota exceededCheck billing and quota limits
ZERO_RESULTSNo data availableTry broader search criteria or different location

Debug Mode

bash
export DEBUG=true
npm run dev

📊 API Quotas Reference

APIFree Tier LimitRate Limit
Geocoding40,000/month50 QPS
Places Search2,500/month10 QPS
Directions2,500/month50 QPS
Street View Static28,000/month100 QPS
Static Maps28,000/month100 QPS

Check Google's current pricing for up-to-date information

🚀 Running the Server

bash
# Development mode with auto-rebuild
npm run dev

# Production mode
npm run build && npm start

🏗️ Architecture

  • TypeScript: Full type safety and modern JS features
  • Modular Design: Organized by functionality (handlers, tools, types)
  • Error Handling: Comprehensive validation and error responses
  • Extensible: Easy to add new Google Maps APIs
  • Production Ready: Built with reliability and performance in mind

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT License - see LICENSE file for details.

🎯 Use Cases

  • 🏕️ Camping Trip Planning: Weather, terrain, campground research
  • 🔬 Field Research: Environmental data collection and site analysis
  • 🚚 Logistics: Route optimization and travel planning
  • 🏡 Real Estate: Location analysis and neighborhood research
  • 📱 Mobile Apps: Location-based services and mapping features
  • 🎨 Creative Projects: Map visualization and geographic art

Transform your location-based projects with comprehensive Google Maps integration! 🗺️✨

Installation

TypingMind
{
  "mcpServers": {
    "google-maps-mcp": {
      "command": "node",
      "args": [
        "/path/to/google-maps-mcp-server/dist/index.js"
      ],
      "env": {
        "GOOGLE_MAPS_API_KEY": "<GOOGLE_MAPS_API_KEY>"
      }
    }
  }
}

Use Google Maps MCP Server Enhanced MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Google Maps MCP Server Enhanced is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Google Maps MCP Server Enhanced as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Google Maps MCP Server Enhanced MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "google-maps-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-maps-mcp-server-enhanced"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Google Maps MCP Server Enhanced MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Google Maps MCP Server Enhanced MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Google Maps MCP Server Enhanced to help me with this task?
Google Maps MCP Server Enhanced
Sure. I read it.
Here is what I found using Google Maps MCP Server Enhanced.

Frequently asked questions

What is the Google Maps MCP Server Enhanced MCP server used for?

Google Maps MCP Server Enhanced is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Google Maps MCP Server Enhanced MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Google Maps MCP Server Enhanced with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Google Maps MCP Server Enhanced MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Google Maps MCP Server Enhanced connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Google Maps MCP Server Enhanced MCP to TypingMind?

Google Maps MCP Server Enhanced runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Google Maps MCP Server Enhanced MCP provide in TypingMind?

Google Maps MCP Server Enhanced exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Google Maps MCP Server Enhanced MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Google Maps MCP Server Enhanced requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇