AgentSUMO logo

AgentSUMO

Run SUMO traffic simulations through MCP tools for scenario generation, policy experiments, visualization, and result analysis.

Install AgentSUMO

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agentsumo": {
      "command": "uvx",
      "args": [
        "agentsumo-mcp"
      ],
      "env": {
        "SUMO_HOME": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SUMO_HOME=YOUR_VALUE_HERE --transport stdio agentsumo -- uvx agentsumo-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx agentsumo-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

AgentSUMO MCP server exposes SUMO traffic simulation workflows as MCP tools for language-model clients. It can generate networks, trips, and routes; apply policy changes; run simulations; convert outputs to SQLite; and produce visualizations or reports. The server requires a local SUMO installation and can be used independently through PyPI or uvx. Reach for it when an agent needs to turn traffic-policy questions into repeatable SUMO experiments.

Use cases

  • Generate baseline SUMO scenarios from OpenStreetMap data
  • Test lane reductions, road closures, and traffic-signal changes
  • Compare simulation runs through SQLite-backed analysis
  • Visualize network edges and simulation metrics
  • Run SUMO tools from an MCP-compatible client

Key features

  • SUMO network, trip, and route generation
  • Policy and infrastructure experimentation
  • Simulation execution and XML-to-SQLite conversion
  • HTML report generation
  • Network and edge visualization
  • Routing, validation, and network utility tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · agentsumo-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars11Stargazers on the source repository.
Last commit18d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How AgentSUMO works

What AgentSUMO does

AgentSUMO MCP server connects MCP-compatible language-model clients to a local Eclipse SUMO installation. Its tools cover the main stages of a traffic simulation workflow: creating a network from OpenStreetMap data, generating trips and routes, running SUMO, modifying infrastructure or demand, and inspecting results.

The server is published as the agentsumo-mcp Python package and can run independently of the broader AgentSUMO repository. The repository also includes a Planner Agent, web interface, SQLite and filesystem MCP clients, and application code for interactive scenario planning. Those surrounding components are not required when using the MCP server as a standalone tool provider.

How it works

An MCP client sends tool calls to the server, which performs operations against local SUMO files and executables. Scenario-generation tools can build a baseline simulation from OpenStreetMap data through network conversion, trip generation, route generation, and execution. Experiment tools support changes such as road or lane edits, vehicle and flow generation, and traffic-signal adjustments.

Analysis tools convert SUMO XML output into SQLite data and create HTML reports. Visualization tools render networks, selected edges, policy targets, and edge-level metric heatmaps. Utility tools provide network summaries, route analysis, road-name to edge-ID resolution, origin-destination coordinate validation, and web-search grounding.

A separate Planner Agent can translate natural-language policy questions into plans, but the MCP server itself provides the execution tools.

Setup and configuration

Install SUMO 1.24 or later and make its installation directory available through SUMO_HOME. The configured directory must contain the SUMO binaries, such as bin/sumo or bin/sumo.exe.

Install the standalone package with:

Terminal
pip install agentsumo-mcp

Alternatively, run it without a persistent installation:

bash
uvx agentsumo-mcp

The server can also be installed as part of the repository’s Python environment. That setup uses Python 3.10 or later and installs the project in editable mode with uv pip install -e .. The repository’s full web application additionally uses ANTHROPIC_API_KEY for its Claude-based Planner Agent and MAPBOX_TOKEN for the web map. Those variables belong to the wider application rather than the standalone MCP tool process. AGENTSUMO_MCP_OUTPUT_BASE optionally changes where simulation outputs are written; otherwise, output uses the current working directory.

Tools and capabilities

  • Build SUMO networks and traffic demand from source data.
  • Execute simulations and apply infrastructure, demand, or signal-control changes.
  • Convert simulation XML into SQLite data for comparison and analysis.
  • Generate HTML reports from simulation results.
  • Render network views, highlighted edges, policy targets, and metric heatmaps.
  • Inspect network structure, analyze routes, validate OD coordinates, and resolve road names to edge IDs.

Limitations and notes

AgentSUMO MCP server depends on a locally installed SUMO release and a correctly configured SUMO_HOME; it does not provide SUMO itself. The web interface has additional requirements, including an Anthropic API key and a Mapbox access token. Simulation artifacts are written to the configured output directory, so deployments should account for generated networks, trips, results, reports, visualizations, and related files.

It does not describe a hosted execution service or remove the need for local SUMO installation. The Planner Agent and web dashboard are repository-level components, while agentsumo-mcp is the separately published execution layer.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about AgentSUMO

AgentSUMO is an MCP server that connects MCP-compatible language-model clients to a local SUMO traffic simulator. Its main tools generate networks, trips, and routes, run simulations, apply policy changes, analyze XML results through SQLite, create reports, and visualize networks and edge metrics for traffic experiments.

Install it with `pip install agentsumo-mcp`, or run it with `uvx agentsumo-mcp` without a persistent installation. You must also install SUMO 1.24 or later locally and set `SUMO_HOME` to the installation directory containing the SUMO binaries.

The standalone server requires `SUMO_HOME` to locate the local SUMO installation. `AGENTSUMO_MCP_OUTPUT_BASE` is optional and changes the output directory. The full repository application additionally uses `ANTHROPIC_API_KEY` and `MAPBOX_TOKEN` for its Planner Agent and web map.

Yes. The `agentsumo-mcp` package can run independently from the repository’s Planner Agent and web interface. Register the package with an MCP-compatible client, install SUMO locally, and configure `SUMO_HOME` before invoking the simulation tools.

Yes. The README explicitly lists Claude Desktop as a supported MCP-compatible client. The standalone package can be registered there, while the full repository also includes its own Claude-based Planner Agent that coordinates AgentSUMO, SQLite, and filesystem MCP clients.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgentSUMO AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentsumo?style=directory)](https://allmcps.com/mcp/agentsumo)
HTML Embed
<a href="https://allmcps.com/mcp/agentsumo"><img src="https://allmcps.com/api/badge/agentsumo?style=directory" alt="AgentSUMO on AllMCPs" /></a>