Listed from the MCP registry; nobody on Odel publishes it.
Styled, interactive road maps of any place (OpenStreetMap) or road file, with PNG previews.
Runs on your machine from its package; the steps are below.

At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx roadstyle-mcp
MCP client config
{
"mcpServers": {
"roadstyle": {
"command": "uvx",
"args": [
"roadstyle-mcp"
]
}
}
}
Beautiful, interactive road maps from Python.
One offline HTML file with real road cartography, Google Street View and a JavaScript API.
Install · Quickstart · Gallery · Live map · AI agents · Documentation

window.rs* JavaScript API and events for your own dashboard, and shared parts for its panel:
a level editor and a design panel (themes, road colours and widths, names, layers) that any page can open.scene_3d= adds a 3D scene to the map, and the vehicles of a traffic microsimulation run on the map.street_view_mode= chooses the panel. The Google 3D window has its own Labels button, and one 3D buildings button works for every source.levelEditPart, designEditPart).rs.snapshot(..., controls=False) leaves out the toolbox, the buttons and the panels.rs.chart, the editor frame rs.frame, a colour picker and the parts that duckOSM Studio asked for (guide).buildings_opacity=, and the far buildings of a tilted map.dashboard={"panel": {"sections": [...]}} or rs.sections.add. The map of a dashboard has the defaults of a map page. This is a breaking change: see Migrate a dashboard.label is a card, with or without a background (background: False), that folds or not (fold: True). Every card has the same width, gap, padding and title row, and the "?" of rs.help.button is at the end of the title row.duckosm.page draws the base map's textures and icons, and dashboard=False gives the dashboard without a panel.street_view="dock" puts Street View beside the map with a divider that you drag. dashboard={"panel": None} gives a map with the toolbox only.rs.help.button adds a "?" button with its own words to a card or a label, all of them open one window. A Collapse all / Expand all control folds the panel's sections. The level editor has a "?" help window with two links to the levels guide.rs.render_dashboard(edges) makes a map with one panel and one bar of tools: navigate (zoom, turn and
tilt in one box), road filter, base maps, colour and legend, settings and credits. A tool that the page cannot use is grey, and its tooltip says
why. The toolbox is at the right edge and the panel at the left. On a phone the bar is one row that you move sideways, and the panel is a bottom sheet.export_style and roadstyle tiles all use the same tiling rule. tiles=False gives GeoJSON roads, and tile_format="mvt" gives MVT.roadstyle levels edit AREA_DIR opens it from the Rust program. It uses the page's standard panel, with an apply bar, red and blue picks, the area boundary (levels make --boundary) and edits.csv in the History tab.rs.classify makes colour classes for roads.
More: What is new in 0.29.0 · Dashboard layout · Dashboard parts · Big networks · Move a script from 0.25 · Documentation.
pip install roadstyle # core
pip install "roadstyle[all]" # + studio, DuckDB, …
Python ≥ 3.10. Individual extras and the dev setup: Install.
From OpenStreetMap, no data needed. Any place, with osmnx (pip install osmnx):
import osmnx as ox
import roadstyle as rs
G = ox.graph_from_place("Tartu, Estonia", network_type="drive", simplify=False)
G = ox.simplify_graph(G, edge_attrs_differ=["bridge", "tunnel"]) # keep tunnels and bridges apart
rs.render_edges(ox.graph_to_gdfs(G, nodes=False)).save("tartu.html")
From your own data. Any file or GeoDataFrame with line geometry and a highway column:
import geopandas as gpd
import roadstyle as rs
edges = gpd.read_file("edges.gpkg") # LineStrings + a `highway` column, any CRS
rs.render_edges(edges).save("map.html") # open map.html: no server (Street View needs one)
More looks:
rs.render_edges(edges, basemap="ofm_dark", view_3d=True) # dark, 3D bridge decks
rs.render_edges(edges, palette="carto", basemap="ofm_positron") # the classic OSM look
rs.render_edges(edges, color_by="aadt", cmap="viridis") # colour by your data
rs.render_edges(edges, palette="mono", color_options={ # several colourings,
"Traffic": {"color_by": "aadt", "cmap": "viridis"}, # switched in the browser
"Speed": {"color_by": "maxspeed_kmh", "cmap": "magma"}})
rs.render_edges(edges, tiles=False) # GeoJSON roads (MLT tiles are the default)
rs.render_dashboard(edges).save("dashboard.html") # map + panel + the standard toolbox
rs.render_street_view(edges).save("street_view.html") # map and Street View side by side
No Python? roadstyle edges.gpkg -o map.html --basemap ofm_dark, or click through it in the
workbench: pip install "roadstyle[studio]" && roadstyle studio.
Every look with its code: the gallery.
Only geometry and highway are required. Other columns switch features on:
| Column | Powers |
|---|---|
geometry (LineString, any CRS) | the edges. Each edge is directed: a two-way road is two edges with reversed geometry |
highway (OSM class) | colour, width, casing, draw order |
name | street labels, popup title |
oneway | direction arrows |
bridge / tunnel / layer | grade separation: tunnels below, bridges on decks above |
edge_id | popups; 64-bit ids stay exact |
| anything else | shown in the popup, queryable from JavaScript |
duckOSM (duckosm export-gis) exports exactly this, and
osmnx edges work as they are: rs.render_edges(ox.graph_to_gdfs(G, nodes=False)).
The saved page exposes window.rs* functions and rs:* events:
const ids = rsQuery(p => p.maxspeed_kmh > 30); // feature ids whose properties match
rsColor(ids, "#ff00aa"); rsFocus(ids); // paint them, fit the camera
document.addEventListener("rs:select", e => console.log(e.detail.properties));
Every function and event: JavaScript API.
MCP server. Lets any MCP-capable AI app (Claude Code, Claude Desktop, Cursor, …) draw road maps
without writing code: render_place("Tartu, Estonia"), render_file("roads.gpkg") and snapshot.
Each saves an HTML map and returns its path plus a PNG preview the agent can look at.
claude mcp add roadstyle -- uvx roadstyle-mcp
In claude_desktop_config.json:
{"mcpServers": {"roadstyle": {"command": "uvx", "args": ["roadstyle-mcp"]}}}
Maps are saved in ~/roadstyle-maps/. The PNG preview needs Chromium, once:
uvx --from roadstyle-mcp playwright install chromium.
Claude Code plugin. The MCP server and the skill below in one install:
/plugin marketplace add Khoshkhah/roadstyle
/plugin install roadstyle@roadstyle
For agents that write code:
skills/roadstyle/SKILL.md: a
skill for agents that use roadstyle (the one call, the data contract, the JS API, the traps).
Install it for Claude Code:
mkdir -p ~/.claude/skills/roadstyle && curl -fsSL -o ~/.claude/skills/roadstyle/SKILL.md \
https://raw.githubusercontent.com/Khoshkhah/roadstyle/main/skills/roadstyle/SKILL.md
AGENTS.md: for agents working on this repo.llms.txt: the docs site as a link list for LLMs.The key is optional. roadstyle works without it, just with less. The base maps need no key.
Street View works with no key: the keyless Google embed. With a Google Maps JavaScript API key, the Street View panel and window get a Linked / Classic switch. Linked is a real panorama: the map marker walks and turns with you, and only Google's own street photos are shown. Classic is the keyless embed. To get a key:
https://example.com/*); API restrictions = Maps JavaScript API only.Then pass it in:
rs.render_edges(edges, street_view_key="AIza…") # the floating Street View window
rs.render_street_view(edges, street_view_key="AIza…") # the side-by-side page
The key is written into the page, as every browser key is, so the site restriction in step 3 is
what protects it. It also means Linked works only on the addresses you listed: to try it on
localhost, add http://localhost:*/* to the list. Keep the key out of git, for example in an
environment variable.
More: settings & base maps · Google Street View.
khoshkhah.github.io/roadstyle, with live maps on every page.
| Where | What you find |
|---|---|
| Get started | install, a first map, what your data needs |
| Guides | style the roads · colour by your data · your own layers · Google Street View · big networks · dashboards & JavaScript · dashboard layout · dashboard parts · which road is on top · edit the design of a map · on a website |
| Gallery | a picture and one line of code per look |
| Rust engine | the one engine: the style, the tiles, the levels and the page; the browser package and the crates |
| Reference | every parameter · JavaScript API · settings & base maps · command line |
| Changelog | what changed in each release |
MIT. Base-map tiles come from third-party services (OpenFreeMap, OSM, Esri) with their own attribution and terms.