mcp-tellus-search

mcp-tellus-search

Enables Claude to search for geo entities such as cities, airports, and hotels using Skyscanner's Tellus API. Supports entity lookup, search by type/location, fetching children, and nearby entities.

Category
Visit Server

README

mcp-tellus-search

A Model Context Protocol (MCP) server that exposes Skyscanner's Tellus (Travel API v2) to Claude.


What is MCP?

MCP (Model Context Protocol) is a protocol that lets Claude call external tools. This project packages Tellus API functions as MCP tools so Claude can search geo entities (cities, airports, hotels, etc.) directly during a conversation.

When Claude is connected to this MCP server, it can:

  • Look up entities by ID
  • Search entities by type or location
  • Fetch child entities of a parent (e.g. all hotels in a city)
  • Find nearby entities by radius
  • Get suggested airports for a city

How it works

Architecture

Claude Code
    │
    │  stdio (JSON messages)
    ▼
Docker Container  ←── mcp.run() blocks here, waiting for requests
    │
    └── python src/server.py
            │
            └── FastMCP registers all @mcp.tool() functions
                    │
                    └── requests → Tellus API (gateway.skyscanner.net)

Key concepts

  • @mcp.tool() decorator registers a function as an MCP tool. Claude sees the function name, docstring, and type annotations — it never sees the raw source code.
  • mcp.run() starts the server and blocks, listening on stdin. The container stays alive for the entire Claude session (one container per session).
  • The container is started automatically by Claude Code when it reads .mcp.json, and destroyed on exit (--rm).

Project structure

.
├── Dockerfile          # Packages the server into a Docker image
├── .mcp.json           # Tells Claude Code how to launch the server
├── requirements.txt    # Python dependencies installed inside the image
└── src/
    └── server.py       # MCP tools + Tellus API helper functions

Available tools

Tool Description
get_entities Fetch entities by ID list (up to 200) via GET /v2/entities
search_entities Search entities by type/ID with optional name filter via POST /v2/search
fetch_children Fetch child entities of a parent, auto-selects filter strategy by type
fetch_nearby_entities Fetch entities within a radius of an entity or lat/lon
get_entity_type Resolve the type of a single entity
get_suggested_airports Get suggested airports for a city (deprecated endpoint, limited coverage)
fetch_children_parallel fetch_children for multiple parents in parallel
fetch_nearby_entities_parallel fetch_nearby_entities for multiple locations in parallel
search_entities_parallel search_entities for multiple queries in parallel

Filter strategy by entity type

Entity type Filter used
Hotel, Airport, CarHireOffice relations.geopolitical_parents:containsAny
TouristAttraction, MetroStation, District, City hierarchy:isChildOf

Build and deploy

Prerequisites

  • Docker Desktop installed and running
  • Claude Code

1. Build the image

cd /path/to/this/project
docker build -t mcp-tellus-search .

docker build executes all RUN instructions in the Dockerfile (installs dependencies, copies source). The resulting image is stored in your local Docker registry.

docker run is what actually starts the container and triggers CMD ["python", "src/server.py"].

2. Configure Claude Code

Project-level (only active when Claude Code is opened in this directory):

.mcp.json is already configured:

{
  "mcpServers": {
    "mcp-tellus-search": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "mcp-tellus-search"]
    }
  }
}

Global (active in any directory):

Add to ~/.claude.json under mcpServers:

"mcp-tellus-search": {
  "type": "stdio",
  "command": "docker",
  "args": ["run", "--rm", "-i", "mcp-tellus-search"]
}

3. Restart Claude Code

Run /mcp to verify the server shows as connected.


How Claude Code finds .mcp.json

Claude Code scans upward from the current working directory for .mcp.json, the same way git looks for .git. It also loads global MCP servers from ~/.claude.json. Project-level config takes precedence over global config for servers with the same name.


Distributing the image

To share this server with others without requiring them to build from source:

# Push to Docker Hub
docker push your-username/mcp-tellus-search

# Others only need .mcp.json pointing to the image name
# Docker pulls it automatically on first run

This is the key advantage of Docker packaging: the recipient needs no Python, no pip install — just Docker and the .mcp.json config file.


Tellus API reference

  • Base URL: https://gateway.skyscanner.net/travel-api/v2
  • Docs: Travel API v2 User Guide
  • Use geometry_centroid instead of geometry (per API guidelines)
  • Parallel fetch functions use ThreadPoolExecutor with MAX_WORKERS=10 (~8x speedup)
  • Do not use requests.Session() in parallel code — use plain requests.post() which is thread-safe

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured