trafiklabs-mcp

shhmon/trafiklabs-mcp

3.1

If you are the rightful owner of trafiklabs-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Trafiklab MCP Server is designed to interface with the Trafiklab API, providing a streamlined way to access public transport data in Sweden.

Trafiklab MCP Server

MCP server for Trafiklab API

Usage

Node 18+

  • npm install && npm run build
  • Add MCP config to your LLM with:
    • command: "node"
    • args: ["/path/to/build/index.js", "TRAFIKLAB_API_KEY"]

Known issues

MCP seems slightly wonky when using nvm and running node servers locally. You might need to either specify the full path to a node 18+ binary or uninstall older node versions in nvm that you might have lingering locally.