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.

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.0

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.0
File Size Uploaded Provenance Actions
mapy_com_mcp-0.5.0.tar.gz 180.9 kB With provenance Details for mapy_com_mcp-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 254.6 kB

Release files / mapy_com_mcp-0.5.0.tar.gz

Download URL mapy_com_mcp-0.5.0.tar.gz
Size 180.9 kB
Tags Source
SHA-256 checksum
How to use checksums
43c7fc41d6ff7fe9ce5565c24ae8bf2be32a65169ae6cbcc237ff4aed42f28ac
BLAKE2b-256 checksum
How to use checksums
381cbb03d1ebb57d9665f4129beb5ffaced9a1069e57d38ac3620185562e7abe
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 6, 2026.

Transparency log

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

Download URL mapy_com_mcp-0.5.0-py3-none-any.whl
Size 73.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
156ba2da778b56383fde8c745342d5ed4894b65b182835b35b6fec5e89c89481
BLAKE2b-256 checksum
How to use checksums
9eadb68fdd41211757ba80e7943e06febfce994f68db24791998543ab2128e6f
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 6, 2026.

Transparency log

Security for mapy-com-mcp 0.5.0

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.0.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 6, 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