Home / Search & web / trvl

trvl

io.github.MikkoParkkola/trvl · v1.28.5 stdio

Score 80. Maintenance 40 of 40, security 23 of 35, adoption 17 of 25.

Door-to-door travel MCP + CLI: flights, hotels, trains, cars, ferries. No API keys, Go binary.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #216 of 896 Search & web servers on Socketlist by score, with 97 GitHub stars and a last code push today.

Install

docker run -i --rm ghcr.io/mikkoparkkola/trvl:1.28.5
npx -y trvl-mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect trvl to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env TRVL_MCP_TOKEN=<trvl_mcp_token> --env TRVL_MCP_READ_TOKEN=<trvl_mcp_read_token> --env TRVL_MCP_WRITE_TOKEN=<trvl_mcp_write_token> --env TRVL_MCP_OAUTH_CLIENT_SECRET=<trvl_mcp_oauth_client_secret> --env AFKLM_KEY=<afklm_key> --env AFKL_KLM_COOKIES=<afkl_klm_cookies> --transport stdio trvl -- docker run -i --rm ghcr.io/mikkoparkkola/trvl:1.28.5

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "trvl": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/trvl:1.28.5"
      ],
      "env": {
        "TRVL_MCP_TOKEN": "${TRVL_MCP_TOKEN}",
        "TRVL_MCP_READ_TOKEN": "${TRVL_MCP_READ_TOKEN}",
        "TRVL_MCP_WRITE_TOKEN": "${TRVL_MCP_WRITE_TOKEN}",
        "TRVL_MCP_OAUTH_CLIENT_SECRET": "${TRVL_MCP_OAUTH_CLIENT_SECRET}",
        "AFKLM_KEY": "${AFKLM_KEY}",
        "AFKL_KLM_COOKIES": "${AFKL_KLM_COOKIES}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "trvl": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/trvl:1.28.5"
      ],
      "env": {
        "TRVL_MCP_TOKEN": "${env:TRVL_MCP_TOKEN}",
        "TRVL_MCP_READ_TOKEN": "${env:TRVL_MCP_READ_TOKEN}",
        "TRVL_MCP_WRITE_TOKEN": "${env:TRVL_MCP_WRITE_TOKEN}",
        "TRVL_MCP_OAUTH_CLIENT_SECRET": "${env:TRVL_MCP_OAUTH_CLIENT_SECRET}",
        "AFKLM_KEY": "${env:AFKLM_KEY}",
        "AFKL_KLM_COOKIES": "${env:AFKL_KLM_COOKIES}"
      }
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
TRVL_MCP_TOKENNoYesBearer token for HTTP-mode auth (unused in stdio). Optional.
TRVL_MCP_READ_TOKENNoYesRead-scoped bearer token for HTTP-mode auth (unused in stdio). Optional.
TRVL_MCP_WRITE_TOKENNoYesWrite-scoped bearer token for HTTP-mode auth (unused in stdio). Optional.
TRVL_MCP_OAUTH_INTROSPECTION_URLNoNoOAuth token introspection endpoint for HTTP-mode auth (unused in stdio). Optional.
TRVL_MCP_OAUTH_CLIENT_IDNoNoOAuth client ID for HTTP-mode token introspection (unused in stdio). Optional.
TRVL_MCP_OAUTH_CLIENT_SECRETNoYesOAuth client secret for HTTP-mode token introspection (unused in stdio). Optional.
TRVL_MCP_OAUTH_AUDIENCENoNoExpected OAuth audience for HTTP-mode token introspection (unused in stdio). Optional.
TRVL_MCP_TOOL_MODENoNoSelects which MCP tool set is registered (e.g. smart/full). Optional, defaults to full set.
TRVL_MCP_TOOL_TIMEOUTNoNoPer-tool-call timeout override. Optional, defaults to the built-in timeout.
AFKLM_KEYNoYesAir France-KLM API key; unlocks that airline's live fares/award search. Optional, trvl works without it.
AFKLM_OP_REFNoNo1Password reference for the Air France-KLM API key. Optional, alternative to AFKLM_KEY.
AFKLM_KEYCHAIN_SERVICENoNomacOS Keychain service name to read the Air France-KLM API key from. Optional, alternative to AFKLM_KEY.

10 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "docker",
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/trvl:1.28.5"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance40/40Last push today, 16 open issuesStrong
Security hygiene23/35Licence Other licence, SECURITY.md present, published package or hosted endpointFair
Adoption17/2597 GitHub stars, 541 npm downloads a weekFair

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars97
npm weekly downloads541
Last pushtoday
LicenceOther licence
Open issues16
SECURITY.mdYes
LanguageGo
Latest version published2026-11-21

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

Compare all alternatives

LetsFG — Flights & Hotels

Score 83. Maintenance 40 of 40, security 23 of 35, adoption 21 of 25.

io.github.LetsFG/letsfg

Search and book flights and hotels: hundreds of airlines, plus bookable hotel rates.

★ 2.3k↓ 170/wkOther licencepushed 3d ago RemoteSearch & web

HuiTravel MCP

Score 76. Maintenance 38 of 40, security 30 of 35, adoption 8 of 25.

com.huitravel.b2b-mcp/huitravel-mcp

Huizhi Travel B2B MCP: search and compare hotels and attraction tickets.

★ 32MITpushed 11d ago RemoteSearch & web