Travel Assistant MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Travel Assistant MCP Serverplan a 3-day trip to Paris with a budget of $1500"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Agent Based Travel Assistant Claude API + MCP
What exists here
Piece | File | What it does |
Sandbox data layer |
| Loads TravelPlanner queries, parses |
MCP server |
| Exposes the sandbox as MCP tools over stdio |
Agent loop |
| Claude tool-use loop driving the MCP session |
Prompts |
| Versioned system prompts (planner, sole-planning, chat) |
Plan schema |
| Pydantic contract matching the benchmark's plan format |
Evaluator |
| Commonsense + hard constraint checks, benchmark-style metrics |
Batch runner |
| Runs N queries, writes traces + a metrics summary |
UI |
| Streamlit chat for participant testing |
Tests |
| 9 offline tests, no API key needed |
Setup (30 minutes)
python -m venv .venv
source .venv/bin/activate # Windows cmd: .venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env # Windows cmd: copy .env.example .env
# then paste your key in. The file must be
# named exactly .env -- not claude.env.
python scripts/prepare_data.py
pytest -q # 9 tests, no API calls
python scripts/check_setup.py # key, dataset, MCP server, one API callThen, first real run. Use run.py and everything works the same on every
platform -- no PYTHONPATH to set:
python run.py eval.run_eval --mode sole-planning --n 5 --level easy # cheap, ~1 min
python run.py agent.loop 0 # one agentic run, prints the full trace
python run.py eval.run_eval --mode tool-use --n 5 --level easy
streamlit run src/ui/app.pyUnix | cmd.exe | PowerShell |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pytest, check_setup.py and run.py all resolve src/ themselves, so none
of them need PYTHONPATH.
Debug the MCP server on its own - do this before blaming the agent:
TP_SPLIT=validation TP_QUERY_ID=0 npx @modelcontextprotocol/inspector \
python -m tp_mcp.serverArchitecture
Streamlit UI ──┐
├──► agent/loop.py ──── Anthropic Messages API (Claude)
eval runner ───┘ │ ▲
│ tool_use blocks │ tool_result blocks
▼ │
MCP ClientSession ────────────┘
│ stdio (JSON-RPC)
▼
tp_mcp/server.py (FastMCP)
│
▼
TravelPlanner sandbox (reference_information / CSV database)The whole point is the seam at ClientSession. The model side knows nothing
about TravelPlanner; the tool side knows nothing about Claude. Swapping the
sandbox for live weather and maps APIs, or Claude for another model, touches one
side only. Say that in your design chapter - it is the architectural claim your
dissertation is actually testing.
Related MCP server: Server MCP
The build plan
Do these in order. Each stage ends with something you can show your supervisor.
Stage 1 - get a number on the board (1st week).
Run --mode sole-planning on 20 easy validation queries. No tools, all reference
information pasted into the prompt. You now have a delivery rate and a pass rate.
This is your baseline and it de-risks everything: prompts, parsing, evaluation and
reporting are all proven before agentic complexity enters.
Stage 2 - make the agent work for its information (weeks 2–3).
Run --mode tool-use on the same queries. It will be worse. Read the traces in
results/, find the top three failure modes, fix them, re-run. That loop -
measure, diagnose, fix, re-measure - is the technical contribution, and the
traces are your evidence.
Stage 3 - sharpen the comparison (weeks 4–5).
Add a condition or two: with vs without the notebook tools, with vs without
check_budget, one model vs another, easy vs medium vs hard. Ablations are what
turn "I built a thing" into "I tested a claim". Three runs per condition, since
LLM output varies.
Stage 4 - extend the tool surface (weeks 5–6). Add a second MCP server (weather, or a real maps API). This is where you demonstrate that MCP composition works: two servers, one agent, no changes to the loop. Your draft promises live external tools - this is where you deliver it.
Stage 5 - human evaluation (weeks 7–8). Streamlit + 5–10 participants + the questionnaire your ethics form covers. Log every session. Report it alongside the benchmark numbers, not instead of them.
Stage 6 - write up (weeks 8+).
Methodology chapter = this README plus the design rationale in the docstrings.
Results chapter = results/*_summary.json plus failure-mode analysis. The
literature review you already have becomes the framing, which is exactly the
proportion your supervisor is asking for.
Honest limitations
The sandbox is built from each query's
reference_information, not the full 4M-record database. The tool interface is faithful; the search space is narrower. Swapping in the full database is a contained change tosandbox.py.within_sandboxandreasonable_city_routeare therefore narrower than the benchmark's own versions. Mark them as such in your results table.Budget checking parses prices from free text and returns "not scored" when it cannot. That is deliberate - an unparseable field must never count as a pass.
The data is fixed at 2022. The prototype is not bookable and the UI says so.
mcpis pinned to>=1.27,<2. The v2 SDK rework lands around the 2026-07-28 spec release with breaking changes. Record the exact version you ran with (pip freeze > results/environment.txt) so your results stay reproducible.
Cost control
Each --mode tool-use query is roughly 10–25 model calls with growing context.
Start with --n 5, use a cheaper model for iteration and your best model for the
final reported runs, and keep --concurrency low while debugging so the traces
stay readable. Report which model produced which table.
This server cannot be installed
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 Servers
- Alicense-qualityDmaintenanceA Machine Context Protocol server that enables Claude AI to interact with tools through a structured communication interface, following standard MCP patterns with server initialization and stdio transport.Last updated1,9672MIT
- Flicense-qualityDmaintenanceProvides math and weather tools accessible via LangGraph agent using MCP protocol with stdio and streamable HTTP transports.Last updated1
- Flicense-qualityBmaintenanceMulti-domain MCP server enabling AI agents to plan and execute vacation travel and birthday party logistics via local tool pipelines.Last updated
- Flicense-qualityBmaintenanceEnables managing travel itineraries with CRUD tools for journeys, stops, and plan items, plus weather lookup, integrated with public MCP servers for time and web search.Last updated
Related MCP Connectors
TravelMind: 8 MCP tools for travel (12306 trains, flights, hotels, geocode, planning, policy).
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/shafi201104/AI-Travel-Assistant-MCP-Arc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server