Integrates Google Maps for route planning, traffic analysis, and cost estimation.
A Model Context Protocol (MCP) server that integrates Google Maps routing and traffic capabilities with Claude AI for advanced route planning, traffic analysis, and cost estimation.
git clone [your-repo-url]
cd google-maps-mcp-server
npm install
Edit config/config.json
and replace GOOGLE_API_KEY
with your actual API key:
{
"googleMaps": {
"apiKey": "your-actual-api-key-here"
}
}
# Test configuration
npm test
# Start in development mode
npm run dev
Add this to your Claude Desktop MCP settings file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"google-maps": {
"command": "node",
"args": ["/absolute/path/to/google-maps-mcp-server/src/index.js"],
"cwd": "/absolute/path/to/google-maps-mcp-server"
}
}
}
Restart Claude Desktop and you can now ask questions like:
1. "Please set your Google Maps API key" error
config/config.json
has your actual API key, not GOOGLE_API_KEY
2. "Google Maps API error" messages
3. "No route found" errors
4. Server won't start
# Check Node.js version
node --version # Should be 18+
# Clear dependencies and reinstall
rm -rf node_modules package-lock.json
npm install
# Check for configuration errors
npm test
5. Claude Desktop can't find the server
Run with debug logging:
DEBUG=* npm start
# Test route calculation
echo '{"origin":"New York, NY","destination":"Boston, MA"}' | node src/index.js
# Check API connectivity
curl "https://maps.googleapis.com/maps/api/directions/json?origin=NYC&destination=Boston&key=YOUR_API_KEY"
Edit config/config.json
to customize:
{
"googleMaps": {
"apiKey": "your-api-key"
},
"server": {
"port": 3001,
"host": "localhost"
},
"routing": {
"defaultTrafficModel": "best_guess",
"maxWaypoints": 25,
"maxAlternatives": 3,
"units": "metric"
},
"costs": {
"fuelPricePerLiter": 1.50,
"vehicleFuelEfficiency": 8.0,
"tollEstimatePerKm": 0.05
}
}
MIT License - feel free to modify and distribute.
Search engine for AI agents (search + extract) powered by Tavily
Provides access to Typesense search capabilities, requiring a connection to a Typesense server.
Query records of Korean independence activists from the Ministry of Patriots and Veterans Affairs.
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Query Shodan's database of internet-connected devices and vulnerabilities using the Shodan API.
Query and analyze Portuguese companies using the NIF.PT public API. Supports search by NIF, company name, and city.
An MCP server for advanced research assistance, configurable via environment variables.
One API for Search, Crawling, and Sitemaps
A Model Context Protocol (MCP) server for the Open Library API that enables AI assistants to search for book and author information.
Web search server that integrates Perplexity Sonar models via OpenRouter API for real-time, context-aware search with citations