perun-mcp
Enables AI agents to search for cheap flights, InPost parcel lockers, and hotels via the Perun.search API for trip planning in Poland.
README
perun-mcp
An MCP (Model Context Protocol) server for Perun.search — a Polish trip planner that finds cheap flights and pairs each destination with the nearest InPost parcel locker and hotel, so you can ship your luggage ahead instead of paying airline baggage fees.
This is a thin HTTP client: it contains no trip-planning logic of its
own. Every tool call is a plain GET request against the public API at
https://perunsearch.tours/api, and the JSON response is returned as-is to
your agent. All flight/locker/pricing logic lives server-side.
Quickstart
git clone https://github.com/swiru95/perun-mcp
cd perun-mcp
pip install -r requirements.txt # or: uv pip install -r requirements.txt
Register with Claude Code
claude mcp add perun -- python /path/to/perun-mcp/server.py
Claude Desktop / other stdio clients
Add to your MCP client config:
{
"mcpServers": {
"perun": {
"command": "python",
"args": ["/path/to/perun-mcp/server.py"]
}
}
}
Pointing at a different API base (optional)
By default the server calls https://perunsearch.tours/api. Override with:
export PERUN_API_BASE="https://your-host/api"
Tools
| Tool | Description |
|---|---|
list_origin_airports() |
List departure airports (IATA, city, country). |
plan_trip(airport, date, nights=7, luggage="on_arrival", parcel="B", trip="one_way", domestic=False, dest=None, return_date=None) |
Cheapest flights from airport plus nearby InPost lockers and hotels at each destination. trip="round_trip" requires return_date. |
route_fares(airport, dest, date, return_date=None) |
Live fare lookup for one specific route/date (all covered airlines). Budget-limited server-side and cached — use sparingly. |
list_destinations(airport) |
LOT domestic "fly to" destinations from a given Polish airport. |
popular_routes() |
Currently popular/recently priced routes, plus fare-lookup budget status. |
All tools raise a clear error (with the API's error message, when present)
on a non-200 response.
Disclaimer
Prices, availability, and locker/hotel data returned by these tools are indicative only and sourced live from third parties (airlines, InPost, hotel providers) — they are not guaranteed and may change before you book. Booking links included in results point to the airline/provider directly; Perun.search does not process payments or bookings itself.
See the full terms at perunsearch.tours/regulamin.html.
Fair use
This server calls the public Perun.search API. Please be a good citizen:
avoid hammering route_fares (it triggers live, budget-limited third-party
lookups) and prefer plan_trip for broad searches.
License
MIT — see LICENSE.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.