AgentSUMO is an MCP server and framework for generating, running, and analyzing SUMO traffic simulation scenarios from natural-language prompts. It translates policy questions into executable simulation plans and supports a web dashboard for visualization and cross-scenario analysis.
From the registry: MCP server for LLM-driven SUMO traffic simulation, scenario design, and result analysis.

Please install the `agentsumo-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Python 3.10+** — Python 3.10 or later is required to run the AgentSUMO MCP server. (https://www.python.org/downloads/)
- **Install SUMO 1.24+** — Install SUMO locally. The MCP server requires a local SUMO installation and the SUMO_HOME environment variable must point to that installation directory containing bin/sumo or bin/sumo.exe. (https://eclipse.dev/sumo/)
- **Set SUMO_HOME** — Set the SUMO_HOME environment variable to the absolute path of your local SUMO installation.
- **Create an Anthropic API key** — The server/framework documentation states ANTHROPIC_API_KEY is required. This Claude API key is used by AgentSUMO. (https://console.anthropic.com/settings/keys)
Optional prerequisites:
- Install uvx or pip — Use uvx to run the published MCP server without installation, or install the package with pip. The README presents uvx as a supported standalone path and pip install as an alternative. (https://docs.astral.sh/uv/guides/tools/)
Canonical MCP server config (stdio transport):
- command: `uvx`
- args: ["agentsumo-mcp"]
- required environment variables:
- `ANTHROPIC_API_KEY`: Anthropic Claude API key used by AgentSUMO. (example: `<your-anthropic-api-key>`)
- `SUMO_HOME`: Absolute path to the local SUMO installation directory containing bin/sumo or bin/sumo.exe. (example: `<path-to-your-sumo-installation>`)
- optional environment variables:
- `AGENTSUMO_MCP_OUTPUT_BASE`: Optional base directory where the MCP server writes simulation outputs such as networks, trips, and results. Defaults to the current working directory. (example: `<path-to-your-output-directory>`)
- `MAPBOX_TOKEN`: Mapbox access token used by the web UI renderer. Not required for the standalone MCP server unless your workflow depends on web UI features. (example: `<your-mapbox-token>`)
Note: Prefer the standalone published server path: run with uvx agentsumo-mcp, or alternatively install with pip install agentsumo-mcp and invoke the installed command. The README does not provide a client config snippet with additional args, so the canonical stdio shape is command `uvx` with args `["agentsumo-mcp"]`.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.ANTHROPIC_API_KEYrequiredClaude API key used by the Planner AgentMAPBOX_TOKENrequiredMapbox access token used to render the web map basemapSUMO_HOMErequiredAbsolute path to the local SUMO installation, used to locate SUMO binariesAI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Persistent codebase knowledge graph. Survives session restarts and context compaction.
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.