MCP.so
登录

Bengaluru BMTC MCP Server

@ajeetraina

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ajeetraina

关于 Bengaluru BMTC MCP Server

Bengaluru BMTC MCP Server

Bengaluru BMTC MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "bengaluru-bmtc-mcp": {
      "command": "node",
      "args": [
        "src/scripts/seed.js"
      ]
    }
  }
}

Bengaluru BMTC MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Bengaluru BMTC MCP Server?

An implementation of a Model Context Protocol (MCP) server for Bangalore Metropolitan Transport Corporation (BMTC) bus services. It provides real-time transit data—including bus locations, route information, stop details, and estimated time of arrival (ETA)—through a standardized RESTful API.

How to use Bengaluru BMTC MCP Server?

Clone the repository, install dependencies (npm install), configure a .env file with MongoDB URI and optional Redis URI, then start the server (npm start or npm run dev). A Docker Compose option is also available. Once running, the API is accessible at http://localhost:3000/api/v1 with documentation at /api-docs. Optionally seed the database with mock data using node src/scripts/seed.js.

Key features of Bengaluru BMTC MCP Server

  • Real-time bus location tracking across Bengaluru
  • Route information and scheduling for 2,200+ routes
  • Stop details and ETA (Estimated Time of Arrival)
  • GeoSpatial queries for nearby stops and buses
  • Authentication and authorization via JWT
  • Data caching with Redis for performance optimization

Use cases of Bengaluru BMTC MCP Server

  • Build real-time bus tracking applications for commuters
  • Provide route planning and schedule lookup for travelers
  • Display bus arrival predictions at specific stops
  • Enable users to find nearby bus stops using geolocation
  • Integrate BMTC transit data into third-party mobility apps

常见问题

1

What are the runtime requirements?

Node.js v14 or later, MongoDB, and optionally Redis (for caching) are required. Git is needed for cloning.

2

How do I obtain a BMTC API key for production?

For development, the server works with mock data. For production, you must contact BMTC directly to request official API access.

3

Is Redis mandatory to run the server?

No, Redis is optional and used only for caching. The server will operate without it.

4

What authentication and transport mechanisms are used?

The API uses JWT-based authentication (token issued via `POST /api/v1/auth/login`) and exposes RESTful endpoints over HTTP.

5

How many bus routes and stops are covered?

The server supports over 2,200 bus routes and 8,400+ bus stops in Bengaluru.

评论

其他 分类下的更多 MCP 服务器