LisbonMetroAPI-Wrapper-MCP-Server

by PedroCorreiaaa

331 downloads
Not rated
GitHub

Description

# LisbonMetroAPI-Wrapper-MCP-Server ## Instruções para correr o projeto 1. **Clonar o repositório** (se ainda não tiveres feito): ```bash git clone https://github.com/PedroCorreiaaa/LisbonMetroAPI-Wrapper-MCP-Server cd LisbonMetroAPI-Wrapper-MCP-Server 2. **Ativar Ambiente…

About

# LisbonMetroAPI-Wrapper-MCP-Server ## Instruções para correr o projeto 1. **Clonar o repositório** (se ainda não tiveres feito): ```bash git clone https://github.com/PedroCorreiaaa/LisbonMetroAPI-Wrapper-MCP-Server cd LisbonMetroAPI-Wrapper-MCP-Server 2. **Ativar Ambiente Virtual** ``` .venv\Scripts\activate 3…

Details

Author
PedroCorreiaaa
Downloads
331
Categories
Developer Tools

- Provides metro route information from the Lisbon Metro API.
- Integrates with Claude Desktop via the MCP protocol.
- Supports natural language queries about metro trips.
- Python-based, with simple installation and configuration.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name LisbonMetroAPI-Wrapper-MCP-Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, activate the virtual environment, install the requirements with pip install requirements.txt, then configure Claude Desktop by editing its claude_desktop_config.json file to point to the server script. Run python metro-lisboa.py to start the server. Once running, you can ask queries in Claude Desktop such as “Quero ir de metro do estádio da luz até à altice arena, qual a melhor rota?”

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "lisbonmetroapi-wrapper-mcp-server": {
            "LisbonMetroAPI-Wrapper-MCP-Server": {
                "command": "python",
                "args": [
                    "metro-lisboa.py"
                ]
            }
        }
    }
}

McpServers

{
    "LisbonMetroAPI-Wrapper-MCP-Server": {
        "command": "python",
        "args": [
            "metro-lisboa.py"
        ]
    }
}

LisbonMetroAPI-Wrapper-MCP-Server

Instruções para correr o projeto

1. Clonar o repositório (se ainda não tiveres feito):

   git clone https://github.com/PedroCorreiaaa/LisbonMetroAPI-Wrapper-MCP-Server
cd LisbonMetroAPI-Wrapper-MCP-Server
2. Ativar Ambiente Virtual

.venv\Scripts\activate
3. Instalar Requirements
    pip install requirements.txt
4. Aceder à configuração do Claude Desktop

code $env:AppData\Claude\claude_desktop_config.json
5. Alterar configuração do Claude Desktop
    {
"mcpServers": {
"metro-lisboa": {
"command": "PATH_TO_LOCAL_REPO/.venv/Scripts/python.exe",
"args": [
"PATH_TO_LOCAL_REPO/metro-lisboa.py"
]
}
}
}
6. Correr o projeto
bash
python metro-lisboa.py
7. Testar no Claude Desktop
```
Ex: Quero ir de metro do estádio da luz até à altice arena, qual a melhor rota?

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.