MCP Location Services for LLM
Provides geocoding, reverse geocoding, routing, and driving distance calculations for LLMs using pgGeocoder and pgrServer.
MCP Location Services for LLM
This Model Context Protocol (MCP) Server allows a LLM to call pgGeocoder Japanese Geocoder to geocode addresses as well as reverse geocode coordinates. It also allows the LLM to call pgrServer(a fast Routing service) to return the driving distance and the path between two coordinates after performing a Dijkstra shortest path search.
Installation
-
Download Claude AI Desktop
-
Download the latest mcpLocation.jar
-
Ensure that JDK 17 or newer is installed
-
Integrate the MCP Service into Claude Desktop by going to Settings -> Developer -> Edit Config and open
claude_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 -
Save then restart Claude Desktop
-
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.
and
reverse geocode the Lat/Lng Coordinate 35.68125852, 139.773173143 and display the returned information
Building the application
To build the jar file from source, issue the maven command:
mvn clean install
Related Servers
SwitchBot MCP Server
Control SwitchBot devices interactively using the SwitchBot API.
MCP Cat Language Server
A server that translates Chinese text into cute cat language expressions.
A Christmas Carol by Charles Dickens
Semantic search through Dickens' classic tale. Find passages by meaning, theme, or concept - not just keywords.
Video Still Capture MCP
An MCP server for accessing and controlling webcams using OpenCV.
RateAPI MCP Server
Real interest rates from 1,400+ US credit unions across 50 states. Covers mortgages, auto loans, HELOCs, personal loans, and credit cards. Rates ranked by APR with zero affiliate bias. Works with Claude Desktop and ChatGPT. Free tier available.
Weather
Provides weather alerts and forecasts using the National Weather Service API.
ScanMalware.com URL Scanner
MCP server for ScanMalware.com URL scanning, malware detection, and analysis
ThinkPLC-MCP
Interface with SIEMENS PLC S7-1500/1200 using their JSON-RPC 2.0 API, exposing PLC functionalities as MCP tools for programmatic interaction.
FastMCP Calculator Server
A calculator server that performs basic math operations like addition, subtraction, multiplication, division, power, and square root.
MCP Weather Server
Provides real-time weather information and forecasts using the OpenWeatherMap API.