trip-agent-mcp
v0.1.1
Published
MCP server that checks a trip for gaps and exports it as a calendar file
Maintainers
Readme
trip-agent-mcp
An MCP server that checks a traveller's trip for what is missing and exports it as a calendar file on their own computer.
Status: version 0.1.0 is released. It is on npm and on the releases page as an extension file for Claude Desktop. It has been tried by its maintainer on one real trip, in Claude Desktop, Claude Code and Cursor; it is early software. The decisions so far are in docs/design.md and docs/adr/; the words the project uses are in CONTEXT.md.
What it does
- Your own Claude reads your booking emails with your own email connector and assembles the trip. This server never reads email and keeps no database.
- It finds gaps by plain rules, not by asking a model: a night with nowhere to stay, a journey that does not connect, a missing return. Gaps show up on your calendar as placeholders until you fix them.
- It exports the trip as an
.icsfile in a folder on your computer, with stable event identities so importing it again updates events instead of duplicating them. It also adds included breakfasts, hotel shuttles, airport check-in blocks, and free-cancellation and payment deadlines when your emails state them. - It never writes passport, card, e-ticket or loyalty numbers, or the text of an email. This is enforced in code, and booking codes are shortened to their last two characters.
What you need
- A client that can run a local MCP server (see below).
- An email connector in that client, such as Gmail or Outlook if your client offers one. This server cannot read your mail itself. If Claude finds there is no connector, it will tell you, and you can paste your booking emails into the chat instead.
- The server must run on your own computer, because it writes the calendar file there. On a remote machine, container or SSH session the file lands on that machine.
- Node.js (current LTS) for the npm route.
Install
Checked on 11 October 2026 with version 0.1.0: the Claude Desktop extension, the
claude mcp addline in Claude Code, and the config entry in Cursor all install and start. Thecodex mcp addline has not been tried. If a line fails for you, check it against your client's documentation and open an issue.
Claude Desktop (macOS and Windows). Download trip-agent-mcp-<version>.mcpb from the latest release and open it (double-click it, or drag it into Claude Desktop). Claude Desktop shows an install dialog:
- Export folder (optional) is where the calendar files go. Leave it blank to use
Documents/trip-agentin your home folder, or pick a folder. - Nothing else needs setting up. Claude Desktop runs the extension with its own copy of Node.js, so you do not install it yourself.
To build the extension yourself instead: npm install && npm run build:mcpb writes build/trip-agent-mcp-<version>.mcpb.
Claude Code.
claude mcp add trip-agent -- npx -y trip-agent-mcpCodex (not yet tried).
codex mcp add trip-agent -- npx -y trip-agent-mcpCursor, and any other client that reads an MCP config file. Add this to the client's MCP settings:
{
"mcpServers": {
"trip-agent": {
"command": "npx",
"args": ["-y", "trip-agent-mcp"]
}
}
}From a clone. To try the code before it is released, build it and point your client at the built file instead of npx:
npm install && npm run build
claude mcp add trip-agent -- node /full/path/to/trip-agent-mcp/dist/index.jsOr build a tarball with npm pack and run npx -y ./trip-agent-mcp-<version>.tgz.
Where the files go. Documents/trip-agent/ in your home folder, created if it is missing. Change it with the extension's setting, or by setting the TRIP_AGENT_DIR environment variable for the server.
Opening the file. The server can hand the exported file to your default calendar app. Importing it is still your step, and your calendar app decides whether an updated event replaces the old one. Where no calendar app is available, the tool returns the file's path.
What it will not be
- Not a hosted service, and not a phone app: phones cannot run local MCP servers.
- Not tied to any database. A private companion app uses Supabase; that is outside this repository and does not depend on this one.
- Not a live calendar connection. In version 1 you import the file yourself.
Licence
MIT.
