Scan your whole stack
Latest version: v0.4.1
İETT Istanbul Buses was last scanned on 30 Nov 2026 at version 0.4.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.1 LATEST | 30 Nov 2026 | No rules fired |
| 0.4.0 | 30 Nov 2026 | No rules fired |
| 0.3.0 | 30 Nov 2026 | No rules fired |
| 0.2.0 | 30 Nov 2026 | Not shown |
| 0.1.2 | 30 Nov 2026 | Not shown |
Findings for v0.4.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.4.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An MCP server for Istanbul public transport. It lets AI assistants like Claude Code, Claude Desktop or Cursor answer questions about İETT bus stops and lines using live data from İETT's official web services.
You: I'm at İstanbul Lounge 2 Sitesi. When is the next bus to Halkalı Marmaray? Claude: (calls
find_route) Take the MR40 from Lale Şehir, about 300 m away, on the side marked "Bakırköy". The nearest bus is 3 stops away near Olympiakent, and its position was updated 15 seconds ago. The next one is 8 stops away.
No API key needed. İETT's data is public.
| Tool | What it does |
|---|---|
search_stops |
Find bus stops by name, optionally within a district. Ignores Turkish accents and case, so kadikoy finds KADIKÖY. Returns stop code, direction, coordinates and accessibility. |
find_stops_near |
Stops near a latitude/longitude, nearest first, with distance and a rough walking time. Lets users ask about a place ("near Taksim Square") instead of a stop name. |
find_place |
Look up a place by name or address (a residential site, street, landmark) and get its coordinates from OpenStreetMap, limited to Istanbul. If the exact name finds nothing, it retries without generic words like "sitesi" or "evleri". Feeds find_stops_near, so users can say "I'm at İstanbul Lounge 2 Sitesi". |
find_route |
Direct buses from one place to another: which line, where to board and get off, the walk at each end, how far the nearest live bus is, and estimated minutes for the walk, the ride and the bus's arrival. Each end can be a place name, a stop name, a stop code or coordinates. Only buses heading the right way count. When no line goes directly, or one change is clearly faster, it adds routes with one change of bus, at the same stop or one a short walk away; lines riding the same stops are merged ("125 or 500A"). Nothing slower than walking is suggested. |
get_line_info |
Look up a line by code (500T, 25G) or find lines by the places in their route name (Sarıyer Taksim). Returns the route ends, length, typical trip time and fare type. |
get_line_stops |
List a line's stops in travel order, for each direction. Optional toward returns only the direction heading to a place. Codes match loosely, so 78s finds 78Ş. |
get_live_buses |
Where a line's buses are right now, placed on the route by their nearest stop. With stop_code, lists only the buses still heading to that stop and how many stops away each one is. |
get_disruptions |
Current İETT announcements: cancelled trips ("the 17:50 from Bostancı won't run") and notices such as detours and road closures. Filter by line, by a place or street named in the notice, or by kind. |
get_timetable |
Scheduled departures from each direction's first stop: today's next buses with the wait, first and last bus, or a whole day grouped by hour, for weekdays, Saturdays or Sundays. Departures İETT has announced as cancelled today are marked, and the next buses listed are ones that run. |
All tools are read-only.
Needs Node.js 18.18 or newer. npx downloads and runs the server, so there's nothing to install.
Claude Code:
claude mcp add iett -- npx -y iett-mcp
Claude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json):
{
"mcpServers": {
"iett": {
"command": "npx",
"args": ["-y", "iett-mcp"]
}
}
}
From source:
git clone https://github.com/mohamedzeina/iett-mcp.git && cd iett-mcp
npm install
npm run build
claude mcp add iett -- node /absolute/path/to/iett-mcp/dist/index.js
If you open Claude Code inside the cloned folder, it picks up the server from .mcp.json automatically. That version runs from source, so you don't need to build first.
AI assistant ──MCP (stdio)──► server.ts ──► search.ts (local, accent-insensitive search)
│
└──► iett/client.ts (12h in-memory cache)
└──► iett/soap.ts ──SOAP/XML──► api.ibb.gov.tr/iett
.asmx services. Some return a JSON string inside the XML envelope; the stop-detail service returns an XML DataSet. soap.ts builds the envelope (with input escaped), parses both response styles, turns SOAP faults into readable errors, and retries network errors and 5xx responses.find_route downloads every line's ordered stops in one request (~82k rows, ~14 s), cached like the stop list, then checks which lines pass a stop near the start and, later in the same direction, a stop near the end. route.ts does that in one pass per line direction; with no direct line, a forward and a backward pass find every stop reachable from each end, and those are joined at shared or nearby stops for one change of bus. Property tests check both against brute-force searches. Ride times come from distance along the route and each line's typical round-trip time. Both ends are resolved while the download runs, so bad input fails fast.rateLimit.ts), and failed calls aren't retried. When the budget runs out, the tool says when live data will be back.live.ts matches each bus's nearest stop against the line's stop list, so the tool can say "5 stops away" and flag reports older than 5 minutes.schedule.ts uses İETT's listing order, where a jump back of more than 12 hours marks midnight, so "next bus" stays right after midnight. It also checks the previous day's late departures. A "largest gap" rule would fail for lines that only run mornings and evenings.text.ts lowercases with Turkish rules (İ→i, I→ı) and strips accents, so every spelling matches.geocode.ts calls Nominatim within Istanbul's bounds. Its usage policy allows 1 request per second, so requests are queued about 1.1 s apart and results are cached for 24 hours. Small residential sites may be missing from OSM; the tool then suggests trying the neighbourhood or asking for coordinates.isError with a message the assistant can explain, instead of crashing.npm run dev # run the server from source
npm test # unit, property, MCP protocol and stdio tests (İETT is faked from fixtures)
npm run smoke # quick live check against the real İETT service
npm run audit # live sweep: every tool against a random sample of real lines
npm run inspect # open the MCP Inspector to call tools by hand
The tests are layered:
FC_NUM_RUNS=20000 npm test runs about 240k cases.npm run audit runs every tool against real lines and checks that the answers are consistent. For example, every bus on a route must count as heading to its final stop.npm version patch # or minor / major: bumps package.json and server.json, commits, tags
git push --follow-tags # the tag runs .github/workflows/release.yml
The release workflow checks the tag matches both files, runs the tests, publishes to npm with trusted publishing (no token stored; the package gets a provenance attestation), then updates the MCP registry using GitHub's OIDC login.
Data comes from İETT via the İBB Open Data Portal. Place lookups use Nominatim; place data © OpenStreetMap contributors, ODbL. This project is not affiliated with İETT, İBB or OpenStreetMap.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.