Logo vun Google Maps MCP Server Enhanced

Google Maps MCP Server Enhanced

Communautéit
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.

EditeurGarblesnarff
Repositorygoogle-maps-mcp
SproochTypeScript
Forks
4
Stären
11
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Google Maps MCP Server Enhanced stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    11 Stären an 4 Forks aus dem verlinkte 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! 🗺️✨

Installatioun

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>"
      }
    }
  }
}

Google Maps MCP Server Enhanced MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Google Maps MCP Server Enhanced verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Google Maps MCP Server Enhanced als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Google Maps MCP Server Enhanced an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "google-maps-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-maps-mcp-server-enhanced"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Google Maps MCP Server Enhanced. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Google Maps MCP Server Enhanced.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Google Maps MCP Server Enhanced?
Google Maps MCP Server Enhanced
Jo. Ech hunn et gelies.
Dat hunn ech mat Google Maps MCP Server Enhanced fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Google Maps MCP Server Enhanced benotzt?

Google Maps MCP Server Enhanced ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Google Maps MCP Server Enhanced MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Google Maps MCP Server Enhanced mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Google Maps MCP Server Enhanced MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Google Maps MCP Server Enhanced verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Google Maps MCP Server Enhanced MCP mat TypingMind?

Google Maps MCP Server Enhanced leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Google Maps MCP Server Enhanced MCP an TypingMind zur Verfügung?

Google Maps MCP Server Enhanced stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Google Maps MCP Server Enhanced MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Google Maps MCP Server Enhanced eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇