maps_geocode
Convert a street address into geographic coordinates, a formatted address, and a place ID.
addressrequired
io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Nov 1, 2026
Geocoding, places, directions, distance, and elevation through Google Maps.
Local MCP server that gives an assistant Google Maps Platform lookups: geocoding, place search and details, routes, distances and elevation.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
mapport turns plain questions about places into answers from the Google Maps Platform: an address becomes coordinates, coordinates become an address, a text query becomes a list of places, and any two points become a distance, a duration, or a step-by-step route. It also reports how high a point sits above sea level. One binary serves both a command-line interface for scripts and a stdio MCP server for agents, and both faces share the same request logic.
A Google Maps Platform API key is required. Put it in the
GOOGLE_MAPS_API_KEY environment variable; it is sent to Google as
the key query parameter on every request and never appears in
output. When the variable is missing, every call fails with an error
that names it, before any request is made.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Each command prints the upstream JSON payload. Exit codes: 0 on
success, 1 when a call fails (including a missing
GOOGLE_MAPS_API_KEY or an API error), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
Google reports most API failures inside an HTTP 200 payload, in a
top-level status field. mapport surfaces any status other than OK
or ZERO_RESULTS as a tool error naming the status and Google's own
message; ZERO_RESULTS is returned as an honest empty answer.
MIT — see LICENSE.
Source: README.md at commit d2e2fbf
Convert a street address into geographic coordinates, a formatted address, and a place ID.
addressrequiredConvert geographic coordinates into the nearest human-readable address.
latituderequiredlongituderequiredSearch for places matching a text query, optionally centred on a location within a radius.
queryrequiredradiuslocationFetch detailed information about one place, including contact details, ratings, and opening hours.
place_idrequiredCalculate travel distances and durations between sets of origins and destinations.
modeoriginsrequireddestinationsrequiredLook up the elevation above sea level for one or more geographic coordinates.
locationsrequiredGet route directions between an origin and a destination, with steps, distance, and duration.
modeoriginrequireddestinationrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
npx @reneturcios/mapport geocode "1600 Amphitheatre Parkway"docker run -i -e GOOGLE_MAPS_API_KEY ghcr.io/cloudcorprecords/mapportexport GOOGLE_MAPS_API_KEY="your API key"
mapport geocode "1600 Amphitheatre Parkway, Mountain View"mapport reverse 37.422 -122.084mapport search "coffee near the ferry building" --lat 37.7955 --lng -122.3937 --radius 1500mapport details ChIJ2eUgeAK6j4ARbn5u_wAGqWAmapport distance "San Francisco" "Oakland" --to "Berkeley" --mode drivingmapport elevation 37.422,-122.084 40.0,-70.0mapport directions "San Francisco" "San Jose" --mode transit
mapport --versionnpx -y @reneturcios/mapport mcp{ "mcpServers": { "mapport": { "command": "npx", "args": ["-y", "@reneturcios/mapport", "mcp"], "env": { "GOOGLE_MAPS_API_KEY": "your API key" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx