# MCP server in n8n for AI agents: get Czech residential mobility data via O2 Mobility API
This automation template transforms the external O2 Mobility API into an MCP (Model Context Protocol)-compatible interface, enabling AI agents to directly request population movement data between residential units in the Czech Republic. Designed for developers, analysts, and SaaS companies needing seamless integration of real-time mobility insights without manual coding.
## Who it´s for
- AI agent developers integrating external APIs via MCP
- Analysts using mobile data to study population movement patterns
- Urban planning and transportation companies in the Czech Republic
- SaaS products adding contextual mobility data to their offerings
## What the automation does
- Receives HTTP requests from AI agents via webhook
- Extracts parameters using $fromAI() expressions
- Calls O2 Mobility API endpoints for app info or transit calculations
- Returns structured JSON responses directly to the agent
- Supports two operations: retrieving app metadata and calculating inter-district routes
## What´s included
- Ready-to-use n8n workflow with LangChain and MCP support
- Logic for handling incoming AI tool requests
- Integrations with O2 Mobility API and HTTP triggers
- Basic setup and adaptation guide
## Requirements for setup
- n8n instance with access to HTTP nodes
- Valid credentials for O2 Mobility API
- External AI agent capable of making MCP-compliant calls
## Benefits and outcomes
- Simplifies integration of complex external APIs into AI agents
- Enables natural language queries about mobility patterns
- Reduces development time for MCP-compatible tools
- Facilitates embedding mobility data into dashboards and internal systems
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet