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.

コメント

「その他」の他のコンテンツ