MapNetwork

v6.4.0
io.github.toruproject/mapnetwork-mcp Checked 3 days ago Published 3 days ago

Generate styled PNG/SVG map images of places in Japan with 9 customizable color themes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_map

Generate a styled map centered on a single place. Example: generate_map(place="Tokyo Station")

ParameterTypeDescription
place *stringPlace name to center the map on (geocoded server-side).
nameOptional: display name for the map. If omitted, the server derives one automatically from place.

generate_markers_map

Generate a map with multiple pinned locations. Example: generate_markers_map(markers=[{"label": "Tokyo Tower", "link": "https://www.tokyotower.co.jp/"}, {"label": "Zojoji Temple"}])

ParameterTypeDescription
markers *arrayLocations to pin on the map. At least one required.
nameOptional: display name for the map. If omitted, the server derives one automatically from place/markers.
placeOptional: place to center the map on. If omitted, the center is computed automatically from the markers.

generate_route_map

Compute a walking/driving route between two places and generate a map with it overlaid. Both endpoints are pinned on the map automatically — do not also call generate_markers_map for them. Example: generate_route_map(from="Tokyo Station", to="Tokyo Tower", mode="walking")

ParameterTypeDescription
from *stringRoute start. Place name to geocode.
to *stringRoute end. Place name to geocode.
modestringDefault 'walking'.
nameOptional: display name for the map. If omitted, the server derives one automatically from place/route.
placeOptional: place to center the map on. If omitted, the center is computed automatically from the route.

download_map

Check a pending generate_* job and download it once ready. If it's already done, returns the image immediately; otherwise waits internally (checking periodically) before returning — no need to wait between calls yourself. If still not ready when it returns, call it again with the same dataKey. Example: download_map(data_key="20260618aBcDeFgHiJ")

ParameterTypeDescription
data_key *stringThe dataKey returned by a generate_* call that reported it was still in progress.

redownload_map

Re-download a prior map in a different drawing style, color theme or format — instant, no regeneration. Example: redownload_map(data_key="20260618aBcDeFgHiJ", drawing_style="ukiyoe")

ParameterTypeDescription
data_key *stringThe dataKey returned by a previous generate_* call.
color_setColor theme — see server instructions for the list. Only set when explicitly requested.
drawing_styleDrawing style — see server instructions for the list. Each style has its own default color theme, which is used unless color_set is also given. Only set when explicitly requested.
formatstring'png' (raster) or 'svg' (vector).