Bus Scheduling
FreeNot checkedEnables LLM clients to access scheduling data, KPIs, routes, and trigger optimization algorithms via MCP.
About
Enables LLM clients to access scheduling data, KPIs, routes, and trigger optimization algorithms via MCP.
README
This is a Model Context Protocol (MCP) server designed to interface with the Bus Scheduling Backend system. It allows MCP-compatible LLM clients (like Claude Desktop, Cursor, Cline, etc.) to access scheduling data, read KPIs, list routes, and trigger/monitor optimization algorithms.
Prerequisites
- Node.js (v18 or higher recommended)
- The accompanying Python backend must be running (by default on
http://127.0.0.1:8000).
Installation
- Install dependencies:
npm install - Build the TypeScript code:
npm run build
Configuration
If your backend is running on a different URL, you can configure it via a .env file in the root of this /mcp-server directory.
Example .env:
API_BASE_URL=http://localhost:8000/api
Running the Server
For standard usage as an MCP Server:
Point your MCP client configuration (e.g. cline_mcp_settings.json or equivalent) to the built index.js file.
Example Cursor/Claude config:
{
"mcpServers": {
"bus-scheduling": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/build/index.js"]
}
}
}
For development:
Run the development watcher (useful if you are actively modifying the MCP server code):
npm run dev
Available Tools
The server exposes the following tools directly to the AI:
- Dashboard & Metrics
scheduling_get_kpi: Fetch KPIs (vehicle status, departures, punctuality).scheduling_get_trends: Get passenger flow trends.
- Routes & Data
scheduling_list_routes: List active bus routes.scheduling_get_route_details: Fetch stations and departures for a specific route.
- Plans & Gantt
scheduling_list_plans: List all saved scheduling plans.scheduling_get_gantt_data: Get task formats for Gantt charts.
- Optimization
scheduling_get_optimization_algorithms: List available optimization scripts.scheduling_run_optimization: Trigger an algorithm task.scheduling_get_optimization_status: Check the status of a running algorithm task.
Testing & Evaluations
You can inspect the capabilities of this server directly using the official MCP inspector:
npx @modelcontextprotocol/inspector node build/index.js
10 comprehensive use cases and checks are available in evaluations.xml in this project's root folder.
Installing Bus Scheduling
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/uwmyuan/transit-scheduling-mcpFAQ
Is Bus Scheduling MCP free?
Yes, Bus Scheduling MCP is free — one-click install via Unyly at no cost.
Does Bus Scheduling need an API key?
No, Bus Scheduling runs without API keys or environment variables.
Is Bus Scheduling hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Bus Scheduling in Claude Desktop, Claude Code or Cursor?
Open Bus Scheduling on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Bus Scheduling with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
