Italy Transfers
Italy Transfers
Real-time train, bus, ferry and private transfer prices across Italian cities.
This package includes:
Frontend: Next.js 14 with i18n support (7 languages)
MCP Server: Claude MCP server for real-time price searches
Documentation: Architecture, research, and supplier information
Quick Start
Frontend (Next.js)
cd frontend
npm install
npm run devStarts on http://localhost:3000
MCP Server
The MCP server connects to the production Italy Transfers API.
cd mcp
# See mcp/README.md for deployment instructionsRelated MCP server: MCP Trenitalia
Project Structure
italy-transfer/
├── frontend/ # Next.js 14 app with next-intl
│ ├── app/ # App router pages
│ ├── components/ # React components
│ ├── lib/ # Utilities (price formatting, routing)
│ ├── messages/ # i18n translations (en, it, de, fr, es, ru, pt)
│ └── public/ # Static assets
├── mcp/ # Claude MCP server
│ ├── server.py # MCP implementation
│ ├── .mcp.json # MCP metadata
│ └── README.md # Deployment guide
└── docs/ # Documentation
├── ARCHITECTURE.md
├── research/ # SEO and market research
└── suppliers/ # Supplier integrationsFeatures
Frontend:
Real-time price search across 71+ Italian transport routes
Multi-language support (EN, IT, DE, FR, ES, RU, PT)
SEO-optimized static and incremental static regeneration
Mobile-responsive Tailwind CSS design
MCP Server:
search_italy_transport- Search routes with live priceslist_italy_routes- List all 71+ available routesget_route_info- Detailed price and time infoget_cheapest_travel_day- Find best travel day
Supported Routes
Rome, Milan, Florence, Venice, Naples, Palermo, Genoa, Turin, Bologna, Verona
All major airports (FCO, MXP, VCE, BGY, NAP)
Interconnected routes: 71+ popular destinations
Development
Language: TypeScript (frontend), Python (MCP) Framework: Next.js 14, FastMCP Styling: Tailwind CSS i18n: next-intl
Documentation
Architecture - System design and components
MCP Server - Claude integration guide
Contributing - Development workflow
License
MIT
Support
For issues, questions, or contributions:
Check CONTRIBUTING.md
Review existing GitHub Issues
Submit a new issue with details
Available Tools
4 toolsget_cheapest_travel_dayA
Find the cheapest day of the week to travel between two Italian cities.
Args: from_city: Origin city slug (e.g. 'rome', 'milan', 'florence') to_city: Destination city slug (e.g. 'rome', 'milan', 'florence')
Returns: Day-by-day price breakdown showing the cheapest day to travel
| Name | Required | Description | Default |
|---|---|---|---|
| to_city | Yes | ||
| from_city | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It states the return value (day-by-day price breakdown) but does not disclose side effects, whether it is read-only, or any authentication requirements. The behavior is minimally transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured, with a clear one-sentence purpose followed by labeled Args and Returns sections. Every part adds value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the basic functionality and return type, but given the existence of sibling tools related to routes and transport, it lacks context on prerequisites (e.g., whether the route must exist) or error conditions. The output schema exists but is not shown, so the description adequately explains returns.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Despite 0% schema description coverage, the description adds meaning to both parameters: 'Origin city slug' and 'Destination city slug' with examples (e.g., 'rome', 'milan', 'florence'). This helps the agent understand the expected format and provides value beyond the schema titles.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: to find the cheapest day of the week for travel between two Italian cities. The verb 'Find' and specific resource 'cheapest day of the week to travel' are distinct from sibling tools like 'get_route_info' and 'list_italy_routes', which focus on routes and transport options respectively.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through its purpose, but it does not explicitly state when to use this tool versus alternatives. No guidance on prerequisites, limitations (e.g., only Italian cities), or when to choose another tool is provided. The sibling tools exist but are not mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_route_infoB
Get detailed information about a transport route between two Italian cities, including available transport modes, price ranges, and travel times.
Args: from_city: Origin city slug (e.g. 'rome', 'milan', 'florence', 'venice', 'naples') to_city: Destination city slug
Returns: Detailed route information
| Name | Required | Description | Default |
|---|---|---|---|
| to_city | Yes | ||
| from_city | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It mentions the tool returns 'detailed route information' but does not state key behavioral traits such as read-only nature, potential latency from external API calls, authentication requirements, or any constraints. This is insufficient for a tool with no annotation support.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with clear Args and Returns sections, no redundant sentences. Every part contributes to understanding. It is appropriately sized for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite lacking annotations, the description covers the main purpose, parameters, and return content fairly well. The presence of an output schema reduces the need to detail return structure. Some gaps remain (e.g., slug constraints), but overall it is adequate for a simple two-parameter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although the input schema has 0% description coverage, the description adds meaning by specifying that from_city and to_city are origin and destination city slugs with examples (e.g., 'rome', 'milan'). However, it does not clarify slug format, case sensitivity, or provide an exhaustive list, so the added value is moderate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves detailed route information between two Italian cities, including transport modes, price ranges, and travel times. This verb+resource combination is distinct from siblings like get_cheapest_travel_day (which focuses on cheapest day) and list_italy_routes (which likely lists routes).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus its siblings. The description does not mention alternative tools or conditions for exclusion, leaving the agent to infer usage context from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_italy_routesA
List all available transport routes between Italian cities.
Returns: JSON list of routes with cheapest prices and number of offers
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It only mentions the return format (JSON list with cheapest prices and number of offers) but does not disclose behavioral traits such as read-only nature, performance considerations, or lack of side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise (two sentences) and front-loaded. It directly states the action and return value without any filler, making it efficient for an AI agent to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no input parameters and an output schema exists, the description adequately covers the tool's purpose and return structure. It could be improved by noting any implicit limitations (e.g., geographic scope), but it is sufficient for the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so no parameter documentation is needed. The description adds value by specifying the output structure (cheapest prices, number of offers), though this pertains to output rather than parameters. Baseline score of 4 for zero parameters is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'List all available transport routes between Italian cities', which is a specific verb and resource. It distinguishes from siblings like get_cheapest_travel_day and get_route_info by implying a broad, unfiltered listing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus siblings like search_italy_transport or get_route_info. The description does not mention any context or exclusion criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_italy_transportA
Search for transport options between two Italian cities.
Args: from_city: Origin city slug (e.g. 'rome', 'milan', 'florence', 'venice', 'naples', 'bologna') to_city: Destination city slug (e.g. 'rome', 'milan', 'florence', 'venice', 'naples', 'bologna') date: Optional travel date in YYYY-MM-DD format
Returns: JSON with transport options, prices, and operators
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| to_city | Yes | ||
| from_city | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility. It states the return type (JSON with options, prices, operators) but does not disclose any side effects, rate limits, authentication needs, or pagination. For a search tool, the description is adequate but lacking in detail.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise: one line for purpose, then args, then returns. No redundant information. It is front-loaded with the search purpose and structured clearly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema (though not fully shown), the description adequately covers purpose, parameters, and return type. It mentions Italian cities but could specify transport modes (train, bus?) or add more examples. Overall, it is fairly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description compensates by listing all three parameters with explanations and examples (e.g., 'from_city: Origin city slug (e.g. ''rome'', ''milan'', ...)'). The date parameter is described as optional with format YYYY-MM-DD. This adds meaning beyond the schema's bare titles and default.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Search for transport options between two Italian cities.' It specifies the verb 'search' and the resource 'transport options'. It distinguishes itself from siblings like list_italy_routes and get_cheapest_travel_day by focusing on searching rather than listing or cheapest day.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, when not to use, or how it relates to siblings like get_cheapest_travel_day. The user must infer usage from the name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool targets a distinct query: cheapest day, route details, list all routes, and search transport options. No overlap in purpose.
All tools consistently use snake_case with verb_noun pattern (get, list, search). Naming is predictable and clear.
4 tools cover the core informational needs for Italian transport without being too few or too many. Well-scoped for the server's purpose.
The set covers listing routes, route details, search with date, and cheapest day analysis. No obvious gaps for an informational transport server.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Plan journeys by train, bus, tram, metro and ferry across 42 European countries.
Plan intercity journeys in India across trains, flights and combinations of both.
Plan door-to-door trips across French trains, buses, transit and flights.
Search & add local tours and experiences (Italy/EU). Operators: first 100 bookings free, then 5%.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides real-time Dutch railway (NS) travel information including train schedules, delays, journey planning, ticket prices, and station details for navigating the Netherlands by train.832MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for real-time Italian railway data, enabling natural language queries about train schedules, delays, departures, arrivals, and live tracking via the Viaggiatreno API.5MIT
- AlicenseNot gradedqualityBmaintenanceLive intercity bus-trip search across Ukraine and Europe — real-time prices, seats, carriers, cheapest-day-of-month calendar, and trip details with passenger discounts. Read-only, no API key; also available as a hosted remote endpoint at https://mcp.soloway.com.ua/mcp.MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching for buses and trains, and when direct routes are unavailable, it provides the underlying data needed to assemble multi-leg itineraries with transfers.4ISC
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trendbender/italy-transfer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server