crewai-mapmap
MapMap tools for CrewAI agents: routing for cars, trucks, bikes and walking, truck routing with ADR dangerous-goods restrictions, geocoding, travel-time matrices, isochrones, multi-stop day planning and hosted map styling, exposed through the hosted MapMap MCP server.
The hosted server connects without a key for evaluation, under fair use. For
metered volume an agent gets a card-free key in one API call (see "With a
key" below). Responses may be cached, stored, indexed and used for training;
the machine-readable terms are at
/.well-known/agent-terms.json.
60-second quickstart
pip install crewai-mapmap crewai
from crewai import Agent, Crew, Task
from crewai_mapmap import mapmap_tools
with mapmap_tools() as tools: # keyless connect, fair use
dispatcher = Agent(
role="Fleet dispatcher",
goal="Plan compliant truck routes",
backstory="Plans ADR-compliant routes for a haulage fleet.",
tools=tools,
)
task = Task(
description=(
"Route a 4.0 m tall truck carrying ADR tunnel-code C goods "
"from Dover to Birmingham and explain which restrictions "
"shaped the route."
),
expected_output="A route summary with the avoided restrictions.",
agent=dispatcher,
)
print(Crew(agents=[dispatcher], tasks=[task]).kickoff())
That is the whole integration: every tool the server registers (route,
check_adr_tunnel, geocode, matrix, optimise_routes,
search_along_route, plan_day, reachable_area, nearby_places,
navigation sessions, place entrances, map-styling and local geometry tools) with their full JSON Schemas. The wrapper adapts whatever tools/list
returns, so it needs no update when the server gains a tool.
Navigation sessions and place entrances
The server's tools for guiding someone to a place turn by turn, and for finding a place's doors, come through like every other tool:
| Tool | What it does |
|---|---|
start_navigation |
Opens a navigation session from an origin to a destination; answers the session id and the first instruction. arrive_at ("point" by default, "entrance" or {place_id, entrance_kind, wheelchair}) ends it at the place's best mapped door, and the answer's arrival says which. |
check_navigation_progress |
Sends one position fix to the session; answers where the traveller is against the route (on_route, off_route, rerouted, arrived or lost_position) and the next instruction to read out. |
end_navigation |
Ends the session and drops what it held. |
place_entrances |
Lists the mapped doors of one place by its id. |
Inputs on the existing tools: include_entrances on nearby_places,
places_in_view and geocode adds each place's entrances to the answer,
and arrive_at: "entrance" on route ends the route at the best mapped
door for the mode of travel instead of the middle of the building (the
answer's arrival block says which door, or why none was used). The same
arrive_at on start_navigation ends a session at the door, and every
reroute heads for the same door; with no door that suits, arrival is
applied: false with the reason and the session ends at the destination
as given.
Facts an agent should pass on, because they are how the service behaves:
- Sessions live in the gateway's memory only and do not survive a gateway restart. A session that has gone answers as not found; open a new one from where the traveller is.
- A session expires after 2 hours idle; every progress check resets the clock.
- A session keeps the route and the last accepted fix only: no trail of positions, and nothing about a position is written to disk or logged.
- Entrances are doors mapped in OpenStreetMap and tied to the place on evidence; none are estimated today. An empty list means no door is tied to the place, not that it has none.
Nothing in this package changes for these tools: it adapts whatever
tools/list returns, so they appear as soon as the server you connect to
registers them. A runnable agent: examples/navigate_to_entrance.py.
With a key (metered volume)
with mapmap_tools(api_key="snk_...") as tools:
...
Get a card-free key in one call: POST https://api.mapmap.ai/v1/keys with
{"email": "you@example.com", "accept_tos": true}. Email verification
upgrades the same key to 50,000 included calls a month. Prices:
mapmap.ai/pricing.json.
Self-hosted
Point the wrapper at your own gateway's MCP endpoint:
with mapmap_tools(url="https://maps.internal.example/mcp") as tools:
...
Data rights
MapMap will never ToS-ban caching, storing, indexing or training on API
responses. Content derived from OpenStreetMap remains under ODbL: credit
© OpenStreetMap contributors when you republish. Full manifest:
https://mapmap.ai/.well-known/agent-terms.json.
Publishing (maintainers)
Never from a laptop. .github/workflows/publish-python-packages.yml builds,
tests and twine checks this package on every pull request that touches it,
and publishes it to PyPI through trusted publishing (no stored token) when
dispatched on main with the version typed in full:
# Dry run: build, test and twine check only
gh workflow run publish-python-packages.yml -R Mapmapai/mapmap --ref main \
-f package=crewai-mapmap
# Publish: confirm_version must equal the version in pyproject.toml
gh workflow run publish-python-packages.yml -R Mapmapai/mapmap --ref main \
-f package=crewai-mapmap -f confirm_version=0.1.0
For a later release, bump version in pyproject.toml (and the CHANGELOG)
first: PyPI never accepts the same version twice.
Licence
MIT. The MapMap service itself is governed by https://mapmap.ai/terms.
Metadata
Release files for crewai-mapmap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crewai_mapmap-0.1.0.tar.gz | 9.3 kB | With provenance | Details for crewai_mapmap-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crewai_mapmap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for crewai_mapmap-0.1.0-py3-none-any.whl |
Total release size: 15.3 kB
Release files / crewai_mapmap-0.1.0.tar.gz
| Download URL | crewai_mapmap-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b14c727750840db6824f51a9889f84a83863cad5fb9d17e5c3c66d5d63c96680
|
|
BLAKE2b-256 checksum How to use checksums |
fc7d11958909aa2f41ceb63347ec562ff6388ab306f8c8d42b9c18f4ec8a3766
|
| 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 23, 2026.
Transparency logRelease files / crewai_mapmap-0.1.0-py3-none-any.whl
| Download URL | crewai_mapmap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f65d372f47ef41b5bafc9efdd7df43da4ce54b0f3ea6dc8304e6016296c79065
|
|
BLAKE2b-256 checksum How to use checksums |
b1a9880a7b412ce9f9fe8c197e3bf229a038ede287bb50182c39b582eebd87f8
|
| 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 23, 2026.
Transparency logSecurity for crewai-mapmap 0.1.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.
Attestation for crewai_mapmap-0.1.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 23, 2026.
Transparency logA 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.