madurai-transit-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@madurai-transit-mcpFind a bus route from Periyar to Mattuthavani."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚌 Madurai CityBus Model Context Protocol (MCP) Server
The official Model Context Protocol (MCP) server for Madurai CityBus public transit, connecting AI assistants (Claude Desktop, Cursor, Gemini, AI Agents) to Madurai's bus route network, official stage fares, stop sequences, and platform bay departures.
⚡ Features
Route Discovery: Direct and 1-transfer routing across 966 bus routes and 3,000 stops in Madurai.
Official Stage Fares: Authoritative TNSTC stage fare breakdowns (Ordinary, LSS, Express, Deluxe AC).
Platform Bay Intelligence: Departure platforms (I/II/III/IV) at Periyar Bus Stand.
Bilingual Stop Search: Search stops in English, Tamil Unicode (
பெரியார்), or colloquial transliterations.Interactive Deep Links: Automatically returns canonical links (
https://maduraione.in/route/...) for live visual route maps.
Related MCP server: Winnipeg City MCP Server
🚀 Quick Setup
1. Claude Desktop
Add this configuration to your claude_desktop_config.json:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"madurai-bus": {
"command": "npx",
"args": ["-y", "madurai-transit-mcp"]
}
}
}2. Cursor IDE
Add this to .cursor/mcp.json or in Cursor Settings ➔ Features ➔ MCP:
{
"mcpServers": {
"madurai-bus": {
"command": "npx",
"args": ["-y", "madurai-transit-mcp"]
}
}
}3. Local Testing with MCP Inspector
You can test all tools interactively using the official MCP Inspector:
npx @modelcontextprotocol/inspector npx -y madurai-transit-mcp🛠️ Available MCP Tools
search_bus_routes
Find direct and 1-transfer bus routes between two locations in Madurai.
{
"from": "Periyar",
"to": "Alagarkovil",
"max_transfers": 1
}get_bus_details
Get full route details, spoke category, departure platform bay, and complete stop sequence for a specific bus number.
{
"bus_number": "44"
}search_bus_stops
Bilingual search (English & Tamil) for bus stops with spoke classifications and verified GPS coordinates.
{
"query": "பெரியார்"
}calculate_fare
Calculate exact official TNSTC stage fares across all service classes (Ordinary, LSS, Express, Deluxe AC).
{
"boarding_stop": "PERIYAR BUS STAND",
"alighting_stop": "MGR BUS STAND",
"bus_number": "77"
}⚠️ Ground Realities & Disclaimers
Public transit in Tier-2 Indian cities operates differently from Western transit models:
Headway Frequency vs. Timetables: TNSTC Madurai buses operate on shift-based headway frequency rather than published minute-by-minute digital timetables.
Topological vs. Surveyed GPS: Out of ~3,000 stops across the district, ~600 core urban stops have verified survey coordinates. Remaining rural/peri-urban stops are mapped topologically by sequence.
Multi-Leg Transfers: Interchange suggestions use the 7-Spoke Madurai Topological Model and should be treated as guidance. Commuters should verify live platform departures at bus stands.
🌐 Powered By
Web App & Live Bus Telemetry: https://maduraione.in
Android App (Google Play): Madurai CityBus on Google Play
GitHub Repository: https://github.com/rsiva2294/madurai-transit-mcp
📄 License
MIT © MaduraiOne
Maintenance
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides access to Nagoya bus system information and schedules. Enables users to query bus routes, stops, and real-time transit data for Nagoya's public transportation network.41MIT
- AlicenseAqualityDmaintenanceProvides access to real-time Winnipeg Transit data and 311 City Services, enabling AI assistants to plan trips, check bus arrivals, and search for reported city issues. It allows users to interact with city infrastructure data and transit schedules through natural language.8MIT
- AlicenseBqualityFmaintenanceEnables AI clients to access Boston's MBTA public transit data, including real-time predictions, schedules, route planning, and service alerts.321Apache 2.0
- AlicenseBqualityDmaintenanceProvides real-time Transport for London journey data, including routes, alerts, and disruptions, allowing AI assistants to search journeys and get station information.1264ISC
Related MCP Connectors
Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
AI marketplace — flights, tours, activities, transport & more via MCP. No auth required.
Read and update your Everway trips and itineraries from any MCP-compatible AI assistant.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rsiva2294/madurai-transit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server