Skip to content

bitsmuggler/google-routes-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Routes API MCP Server (with Geocoding)

This project is a simple MCP (Model Context Protocol) server that integrates with the Google Maps Geocoding API and Routes API to compute directions between two addresses.

You can find all the details and the story behind it in my blog post: Building My First MCP Server: A Practical Guide with Google Routes API

Features

Example mcp.json to use it in LM Studio or Claude Desktop

{
  "mcpServers": {
    "google-routes-api": {
      "command": "npx",
      "args": [
        "ts-node",
        "[path to the local repo]/src/server.ts"
      ],
      "env": {
        "GOOGLE_MAPS_API_KEY": "[your api key]"
      }
    }
  }
}