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: Prefeitura RS Caxias do Sul: Certidão Negativa de Débitos
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 MCP tools for public works, builders, ratings, timelines and nearby services in Brazil.
Route optimization API for Brazil. Routes, distance matrices, and VRP solver.
Prefeitura PE Recife: CPOM, official-source lookup. Platform-hosted, pay per query with prepaid cred
Look up the metrological status of a city's speed cameras and breathalyzers in Inmetro's official re
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables users to query vehicle debts from the official SEFAZ RS system, offering a single read-only tool to fetch debt information for vehicles registered in Rio Grande do Sul.MIT
- AlicenseNot gradedqualityCmaintenanceEnables consulting the Negative Debt Certificate (Certidão Negativa de Débitos) from the city of Caxias do Sul, RS, Brazil, using official sources. Offers a single read-only tool for checking debt status.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query Brazilian municipal transparency portals for payroll, expenses, contracts, bids, revenues, and legislation using natural language in Portuguese.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to consult DETRAN RS payment guides from an official source via MCP over HTTP, with read-only access and pay-per-query prepaid credit.MIT