MCP Server
The Retailer API MCP Server is an MCP Server implementation which wraps the functionalities of the Distribusion’s Retailer API functionalities. The purpose of this MCP Server is for it to be used by AI Agents or Agentic applications which support MCP communication, in a Server-to-Server fashion.
Authentication
In order to connect to the MCP Server, clients must pass a key specific to the MCP Server, not the regular key for the API. Contact your Partnership Manager to get access to your MCP Server API key.
How to Use
The MCP Server is intended to be used in a Server-to-Server fashion, in other words, it is not intended to be used in personal AI applications, such as Claude Desktop, or Cursor. Instead, it is targeted towards Agentic application frameworks, such as LangChain, Google ADK, LlamaIndex, and many more.
For instance, using Langchain MCP Adapters, the connection would be setup like this:
You can use the MCP Inspector to explore the MCP Server.
Features
The MCP Server exposes the following tools:
| Find station codes by name | query, top_k |
| Find city codes by name | query, top_k |
| Find area codes by name/IATA | query, top_k |
| Search travel connections | departure/arrival locations, dates, passengers |
| Check connection availability | connection details, fare class |
| Generate booking URLs | connection details, locale, seat selection |
| Get price calendar data | route, date range, carriers |
| Get carrier information (terms and conditions, luggage policy, cancellation policy) | carrier code |
| Get information about a fare class for a marketing carrier, such as ticket validity rules, post-booking conditions, and fare features. | carrier code, fare class code |
| Get available seats for a connection, if the connection supports it. | connection ID |
All other functionalities, like reservations and bookings are not supported by the MCP Server. More features will soon be added. We are constantly working on bringing as many features as we can into the MCP Server.
What made this section unhelpful for you?
On this page
- MCP Server