poa-bus-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π Porto Alegre Bus MCP Server
MCP server for Porto Alegre's public transportation data. Access bus stops, routes, and real-time information through Claude Desktop or any MCP-compatible client.
Features
π List all bus stops in Porto Alegre
π£οΈ Browse available bus routes
π Get detailed route information (stops, schedule, path)
π Pagination support for large datasets
β‘ Redis caching for improved performance
π HTTP streaming server with stateless architecture
Related MCP server: Movilidad Con Prompts
Quick Start
Environment Variables
For local development, create a .env file:
REDIS_URL=redis://localhost:6379 Using Docker (Recommended)
The command below will start the MCP server along with a Redis instance:
docker-compose up -dDevelopment Commands
pnpm test # Run MCP Inspector
pnpm lint # Run linter
pnpm format # Format code
pnpm check # Lint & format check
pnpm check:fix # Auto-fix issuesClaude Desktop Integration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"poa-bus": {
"command": "npx",
"args": ["mcp-remote", "http:localhost:3000/mcp"]
}
}
}Available Tools
Tool | Description | Parameters |
| List all bus stops with pagination |
|
| List all bus routes with pagination |
|
| Get route details |
|
Architecture
HTTP Server: Express with CORS support on port 3000
MCP Protocol: Streamable HTTP transport
Caching: Redis integration for API response caching
Data Source: Porto Alegre Transport API (
poatransporte.com.br)
Contributing
Fork the repository
Create your feature branch
Run
pnpm checkbefore committingOpen a Pull Request
Acknowledgments
This project was inspired by and built upon the work of:
POABus by @rafaeelaudibert - A comprehensive Porto Alegre bus system API
poatransporte by @ClaudiaStrm - Porto Alegre public transportation data tools
These projects provided valuable insights into Porto Alegre's public transportation data structure and API patterns.
License
MIT - See LICENSE
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only public transit departures, stop search, and city coverage for bus and train users.
Provide real-time transportation data including bus arrivals, train service alerts, carpark availaβ¦
Lviv public transport MCP: stops, timetables, routes, and live vehicle positions. No API key.
Real-time SF Muni departures, routes, alerts, vehicle positions, and schedules.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time access to Bangalore's public transportation information including bus tracking, schedules, routes, and service updates to improve passenger experience.4MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time and scheduled bus information for Montevideo's public transport system.1-
- AlicenseNot gradedqualityDmaintenanceEnables natural language queries for Porto Alegre's public transport system, including route planning, stop search, and route information via Claude Desktop or any MCP-compatible client.MIT
- AlicenseAqualityDmaintenanceProvides Estonian public transport timetables, trip planning, stop search, and real-time vehicle tracking.81MIT