MCP Location Services for LLM

by mbasa

Not rated
GitHub

About

Provides geocoding, reverse geocoding, routing, and driving distance calculations for LLMs using pgGeocoder and pgrServer.

Details

Author
mbasa
Categories
Other, API

Setup

Install MCP Location Services for LLM in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/mbasa/McpLocationService

Follow the installation instructions in the repository README, then restart your MCP client.

Provides geocoding, reverse geocoding, routing, and driving distance calculations for LLMs using pgGeocoder and pgrServer.

This Model Context Protocol (MCP) Server allows a LLM to callpgGeocoderJapanese Geocoder togeocodeaddresses as well asreverse geocodecoordinates. It also allows the LLM to callpgrServer(a fast Routing service) to return thedriving distanceand thepathbetween two coordinates after performing a Dijkstra shortest path search.

Ensure that JDK 17 or newer is installed

Integrate the MCP Service into Claude Desktop by going to Settings -> Developer -> Edit Config and openclaude_desktop_config.jsonfile in a text editor

Copy the text below and paste into the json file

{ "mcpServers": { "LocationServices": { "command": "<FULL PATH>/java", "args": [ "-Dspring.ai.mcp.server.stdio=true", "-Dspring.main.web-application-type=none", "-Dlogging.pattern.console=", "-Dai.model.base.url=http://mb.georepublic.info", "-jar", "<FULL PATH>/mcpLocation.jar" ] } } }

-

Replace<FULL PATH>with the correct full paths of both the java application and the downloaded mcpLocation.jar file

After restaring the Claude Desktop, the tools button should display the available LocationServices tools.

- From here, it is now possible to request the Claude AI to use the registered tools with prompts such as these:

get the Japanese addresses of Nihonbashi Takashimaya and Shinjuku Takashimaya then geocode the addresses. Display the full geocoded information and get the driving distance between the two coordinates.
reverse geocode the Lat/Lng Coordinate 35.68125852, 139.773173143 and display the returned information

To build the jar file from source, issue the maven command:

Global postal code lookups, validation, and city search for 70+ countries. Sub-10ms responses.

Open MCP server providing real-time transit routing, open-source GIS / geographic intelligence, and specialized Slovenian geospatial lookup tools for AI agents and LLMs.

Query real-time fuel prices, find nearby stations, plan routes, and geocode locations across different countries

Public HTAG MCP connectors for Australian property intelligence, H3 spatial intelligence, and capability discovery — 70+ read-only tools over Streamable HTTP.

IP2Location.io API integration to retrieve the geolocation information for an IP address.

Geographic data, live exchange rates, and IP geolocation for Claude Desktop, Cursor, and any MCP-compatible AI assistant.

Free business data API and MCP server. Find restaurants, cafes, hotels, shops and 37+ business categories in any city worldwide. Uses OpenStreetMap data. No API key required. REST API + MCP Streamable HTTP endpoint.

Retrieves user geolocation information using EdgeOne Pages Functions and integrates it with large language models via MCP.

GeoIP and ASN intelligence for AI agents with country, city, timezone, network ownership and ASN lookups.

Official LatLng MCP endpoint for geocoding, reverse geocoding, and places search.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.