Skip to main content

mapy-com-mcp

MCP server that lets LLMs find places, look at them on a real map, and hand the user a mapy.com link to the same view.

PyPI version Python versions License: MIT Code style: Ruff MCP-compatible

Why

LLMs are good at recommending places and itineraries, but bad at anything requiring real spatial understanding — distances, walkability, what's near what. This server closes that gap from both sides:

  • The model checks its work. find_places turns names into real coordinates, so suggestions are grounded in actual places. inspect_places and plan_route then return map images with numbered markers and a coordinate grid, so the model can see how the places relate before it answers — and a route comes with real distance, time and, on foot or by bike, an elevation profile.
  • The user gets a map, not just text. show_places and show_route show the places or the route on a map right in the chat, with a button that opens the same view on mapy.com — in clients that support MCP Apps, such as Claude and ChatGPT. Other clients get a mapy.com link to hand on.

Built on mapy.com, the Czech mapping service from Seznam.cz — especially strong in the Czech Republic and the surrounding region.

Available tools

Tool What it does
show_places Shows the user one or more labeled points on a map: an inline map with numbered markers and an "Open on Mapy.com" button where the client supports it, otherwise a mapy.com link. Area and zoom are fitted to the points automatically.
show_route Shows the user a route through 2–17 labeled points (start, up to 15 waypoints, destination) for car, foot or bike: an inline map with length, time and, on foot or by bike, an elevation profile that opens large on click — or a mapy.com link. The model gets total and per-leg distance and time and warnings about moved or restricted points.
inspect_places Lets the model look at places for itself, without showing the user anything: a map image with numbered markers and a coordinate grid, to check how places relate before it answers.
plan_route Lets the model plan a route for itself, without showing the user anything: total and per-leg distance and time, warnings, a map image of the route and, on foot or by bike, an elevation profile.
find_places Resolves human-readable place references (names, addresses, POIs) to WGS84 coordinates via the mapy.com REST API. Accepts a batch of queries and an optional near hint for disambiguation. Feed the result into show_places / show_route.
explore_nearby Finds what's around a point — sights, food, accommodation, services — in up to 3 of 15 categories per call (viewpoints, castles, restaurants, pharmacies, …) within a 100 m–10 km radius, nearest first. Each category says whether the list may be incomplete. Feed the places worth seeing into show_places.

All tools call the mapy.com REST API, so the server needs a mapy.com API key — see Configuration.

Configuration

Every tool needs a mapy.com API key in the MAPY_API_KEY environment variable. To get one, sign in with a Seznam account at the mapy.com developer portal and create a project — its first key is created automatically, and the free monthly credits cover normal use. Without a key the server still starts, and every tool call explains how to set one up.

// Example: Claude Desktop / Claude Code MCP config
{
  "mcpServers": {
    "mapy-com": {
      "command": "uvx",
      "args": ["mapy-com-mcp"],
      "env": { "MAPY_API_KEY": "your-key-here" }
    }
  }
}

Self-hosting over HTTP

By default the server talks to a local MCP client over stdio. To run it on a server instead — for example to use it from ChatGPT or Claude on the web and on mobile — run it over Streamable HTTP, most easily with Docker:

docker build -t mapy-com-mcp .
docker run -d --name mapy-com-mcp --restart unless-stopped \
  -e MAPY_API_KEY=your-key-here -p 127.0.0.1:8000:8000 mapy-com-mcp

The MCP endpoint is then http://127.0.0.1:8000/mcp. Without Docker, mapy-com-mcp --transport http does the same; it binds to 127.0.0.1:8000 unless you pass --host and --port.

License

MIT — see LICENSE.

Metadata

Release files for mapy-com-mcp 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapy-com-mcp 0.5.1
File Size Uploaded Provenance Actions
mapy_com_mcp-0.5.1.tar.gz 186.9 kB With provenance Details for mapy_com_mcp-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mapy-com-mcp 0.5.1
File Interpreter ABI Platform Actions
mapy_com_mcp-0.5.1-py3-none-any.whl Python 3 none any Details for mapy_com_mcp-0.5.1-py3-none-any.whl

Total release size: 264.8 kB

Release files / mapy_com_mcp-0.5.1.tar.gz

Download URL mapy_com_mcp-0.5.1.tar.gz
Size 186.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e98256412b8c0f881b97912c771e5aa6af96221059bea5a794e0e3bb8419c998
BLAKE2b-256 checksum
How to use checksums
df5348f5b90dce116b054c4155232806ca7a7f15396d086700d11a7d4e89334c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / mapy_com_mcp-0.5.1-py3-none-any.whl

Download URL mapy_com_mcp-0.5.1-py3-none-any.whl
Size 77.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3372e11fee7e2691e125eaa2e48661cece5e4ec631b8d3c0266f4a4aaf94800f
BLAKE2b-256 checksum
How to use checksums
2de2cc1d33aafccec62093612e1eac48085a2f19eebc9d8044ea985bf651e134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for mapy-com-mcp 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mapy_com_mcp-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page