poa-bus-mcp
Click on "Deploy 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., "@poa-bus-mcpWhat are the bus routes in Porto Alegre?"
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.
π 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: Winnipeg City MCP Server
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
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 gradedqualityCmaintenanceProvides real-time access to Bangalore's public transportation information including bus tracking, schedules, routes, and service updates to improve passenger experience.4MIT
- 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
- FlicenseNot gradedqualityDmaintenanceProvides real-time and scheduled bus information for Montevideo's public transport system.1-
- FlicenseNot 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.-