MCP server for Cities: Skylines II - bridges Claude to the CS2MCP in-game mod
Strong tool coverage with 24 well-named, action-verb-prefixed tools (cs2_ping, cs2_get_*, cs2_set_*, cs2_place_*, cs2_list_*, cs2_demolish, cs2_upgrade_road). All tools have descriptions (avg ~150 chars, within 10-1024 baseline). Input schemas present for all tools with proper type definitions and enums where appropriate (e.g., cs2_set_tax area enum, cs2_get_prefabs category enum). However, output schemas are NOT documented, LLMs cannot predict response structure for downstream chaining. Parameter descriptions are present but sometimes terse (e.g., cs2_place_building 'rotation' lacks degree range clarity). Error handling guidance is absent, tools do not explain recovery paths or categorize failures. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels (READ_ONLY, WRITE, DESTRUCTIVE). Missing idempotency guarantees for write operations.
Detailed city budget: total income/expenses, balance, and a per-source breakdown (residential/commercial/industrial/office taxes, service fees, subsidies, service upkeep, loan interest, electricity/water import-export, map tile upkeep). Values are monthly rates; expenses are positive costs.
Key statistics of the loaded city: population (plus citizens currently moving in), average happiness and health, city treasury money, XP, in-game date and simulation speed. Requires a loaded city.
Electricity (production/consumption/battery/trade), water & sewage (capacity/consumption/trade) and garbage accumulation of the loaded city. Compare production vs consumption to spot shortages.
Residential (low/medium/high density), commercial, industrial, office and storage demand of the loaded city (0-100), including the demand factors that explain WHY demand is high or low (e.g. Taxes, Unemployment, EmptyZones, Homelessness). Positive factor values push demand up, negative values push it down.
Demolish a placed building or road segment by entity ID. Returns confirmation with the demolished prefab name.
Output schemas not documented. LLMs cannot predict response structure (field names, types, nested objects) for downstream tool chaining. E.g., cs2_place_building returns 'entity ID and placement details' but exact fields are unknown.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels declared (READ_ONLY, WRITE, DESTRUCTIVE). Agents cannot distinguish safe vs dangerous operations without explicit hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Get the current game state: game mode, whether a city is loaded, city name, simulation pause/speed and the in-game date/time.
Search available prefabs (buildings, roads, networks, trees) by category and optional name filter. Returns paginated results with prefab metadata.
Per-service budget allocation (50-150%, 100 = default), efficiency percent, estimated monthly upkeep and number of buildings for each service.
Current tax rate and allowed range for each tax area: Residential, Commercial, Industrial, Office.
Employment data: employed citizens, unemployment rate, homelessness, total/free jobs broken down by required education level, and the population age structure (children/teens/adults/seniors).
List placed buildings in the city, optionally filtered by name and/or location. Returns paginated results with entity IDs, positions and prefab names.
List placed road segments in the city, optionally filtered by name and/or location. Returns paginated results with entity IDs, start/end positions, length and prefab names.
Check that Cities: Skylines II is running with the CS2MCP bridge mod loaded. Returns mod version, current game mode (MainMenu / Game / Editor) and whether a save is loading. Works even while a save is still loading; use this first to diagnose connection issues.
Place an area (park, district, etc.) defined by a polygon of nodes. Validates placement and returns entity ID and area details on success.
Place a building at a given position and rotation. Validates placement against game rules (overlap, water, terrain, protected entities). Returns entity ID and placement details on success.
Place a road segment from start to end position, optionally with a mid-point for curved roads. Validates placement and returns entity ID and segment details on success.
All city-wide policies with their internal name, localized title, active state, locked state and whether they are toggleable.
Capture the current game view as a PNG image. Useful for seeing the city layout, checking what the player is looking at, or verifying the result of an action. Returns the image directly.
Enable or disable a city-wide policy by name. Returns the new state.
Set the budget allocation (50-150%) for a service. Lower budget saves money but reduces efficiency.
Control the simulation clock: pause/unpause the game and/or set the simulation speed (0 = paused, 1 = normal, 2 = double, 4 = fastest UI speed; values up to 8 are accepted). Returns the resulting state.
Set the tax rate (integer percent) for one tax area. The rate is clamped to the game's allowed range (returned in the response). Higher taxes raise income but lower demand and happiness.
Time series of a city statistic (sampled 32x per in-game day). Useful types: Population, Money, Income, Expense, HouseholdCount, WorkerCount, Unemployed, TouristCount, CrimeRate, BirthRate, DeathRate, CitizensMovedIn, CitizensMovedAway, ResidentialTaxableIncome, TrafficFlow-style passenger counts (PassengerCountBus/Subway/Train...). An invalid type returns the full list of valid names.
Upgrade a road segment to a different composition (e.g. add/remove lanes, change surface). Validates upgrade and returns confirmation with the new composition.
Error handling guidance absent. Tools do not explain recovery paths (e.g., 'If placement fails due to overlap, try nearby coordinates' or 'If city not loaded, call cs2_game_state first'). Agents cannot self-correct on failures.
Parameter descriptions sometimes terse or missing constraints. E.g., cs2_place_building 'rotation' lacks degree range (0-360); cs2_screenshot 'width' lacks aspect ratio behavior; cs2_statistics 'parameter' lacks explanation of sub-index semantics.
No idempotency guarantees documented for write operations. Agents retry on ambiguous failures, cs2_place_building, cs2_set_tax, cs2_set_policy lack idempotency declarations, risking duplicate side effects.