12306 Train Tickets MCP

80/100
Last tested 2026-11-13 UTC (Fresh: tested within 30 days) Working (tool call tested 2026-11-13 UTC) No key needed for the tools we called

Advisories: not yet checked

Security review: not tested

Score = points from our five tests (install, handshake, maintenance, docs, license). Not a quality or security rating. Methodology

  • Install20/20
  • Handshake30/30
  • Maintenance5/25
  • Docs15/15
  • License10/10

Tested npm 12306-mcp 0.3.10 (MIT; no source repo linked in package metadata). Installed pinned with scripts off (npm --ignore-scripts) and launched: initialize and tools/list over stdio succeeded with no credentials and listed 8 tools (no tool annotations). Real calls: 2 of 2 real function calls passed (1 setup/self-check call(s) not counted).
Tool-call test (2026-11-13 UTC, direct MCP stdio client, no LLM): pass. 2 of 2 real function calls passed (1 setup/self-check call(s) not counted). Evidence: local test run, Nov 13, 2026 UTC.

Transport (tested 2026-11-13 UTC): stdio

Token cost (estimate): approx. 2199 tokens, cl100k estimate (8 tools, measured 2026-11-13 UTC, version 0.3.10). This is an estimate from our testing of the tool names, descriptions and input schemas, counted with cl100k_base.

Permissions: 8 read, 0 write (state-changing), 0 unclassified · Auth: none · Rate limit: unknown · Pricing unit: unknown

Auth: none. Rate limit: unknown. Pricing unit: unknown.

  • get-current-date — read
  • get-interline-tickets — read
  • get-station-by-telecode — read
  • get-station-code-by-names — read
  • get-station-code-of-citys — read
  • get-stations-code-in-city — read
  • get-tickets — read
  • get-train-route-stations — read

handshake and tools listed without a recorded key or OAuth

Score 80/100 · Tools 8 · Token cost approx. 2,199 tokens · Compare · Last tested 2026-11-13 UTC · Version tested 0.3.10 · Package 12306-mcp

Summary: 12306 Train Tickets MCP completed an MCP handshake without credentials and exposed 8 tools.

Evidence summary

Handshake
pass
Tools listed
8
Context cost
approx. 2199 tokens, cl100k estimate (8 tools, measured 2026-11-13 UTC, version 0.3.10; an estimate) ranking · add up your servers' context cost
API key
No key needed for the tools we called
Tested
2026-11-13 UTC

Test results

TestResultPointsEvidence
installpass20npm install 12306-mcp (Node 20, Linux) succeeded in 5s.
handshakepass30MCP initialize + tools/list over stdio succeeded with no credentials; 8 tools listed in 26.3s.
maintenancepartial5Latest release published 105 days before test.
docspass15README over 3,000 chars; install instructions present; mcpServers config example present. Check of the package's own README (README shipped in npm package).
licensepass10MIT (OSI-approved).

Local-model readiness

Token cost (estimate): approx. 2199 tokens, cl100k estimate for 8 tools · about 27% of an 8k context. This is an estimate from our testing (counted with cl100k_base).

Small-model friendly (schema heuristic, not a model result): unknown.

Not tested

Small-model task runs: Not yet tested.

What we tested and what we didn't

Tested on 2026-11-13 UTC

  • Install from the registry
  • We connected with no credentials and asked for its tool list: it listed 8 tools (Method details: MCP initialize then tools/list)
  • Maintenance signals (last push, archived/deprecated status)
  • Docs (README length, install and config example)
  • License (OSI-approved or not)
  • Token cost (estimate)

Not tested

  • Security: not audited (no code review, no permission or data-flow analysis)
  • Real tasks (no functional task runs yet)
  • Behaviour with real credentials or a real account
  • Performance, rate limits or load
  • Correctness of results beyond the listed tasks

Methodology: how we test. A high score means it installs and responds, not that giving it access to your data carries no risk.

Known security issues

Not yet checked.

Monthly roundup: MCP security issues, October 2026.

Tool list changes

Baseline recorded from the 2026-11-13 UTC test run; changes appear after the next test.

Snapshot hash (fingerprint of the tool list)

9de6e12379cf: SHA-256 of the canonical tool names, descriptions and input schemas. If it changes, the tool list changed.

Feeds: RSS · JSON.

Raw test record (JSON)
{
  "name": "12306-mcp",
  "version": "0.3.10",
  "registry": "npm",
  "status": "working",
  "tested": "2026-11-13",
  "tools_count": 8,
  "deprecated": false,
  "archived": null,
  "tests": {
    "install": [
      "pass",
      20,
      "`npm install 12306-mcp` (Node 20, Linux) succeeded in 5s."
    ],
    "handshake": [
      "pass",
      30,
      "MCP `initialize` + `tools/list` over stdio succeeded with no credentials; 8 tools listed in 26.3s."
    ],
    "maintenance": [
      "partial",
      5,
      "Latest release published 105 days before test."
    ],
    "docs": [
      "pass",
      15,
      "README over 3,000 chars; install instructions present; `mcpServers` config example present. Check of the package's own README (README shipped in npm package)."
    ],
    "license": [
      "pass",
      10,
      "MIT (OSI-approved)."
    ]
  }
}

Install

npx -y 12306-mcp

Pin the version we tested

npx -y 12306-mcp@0.3.10

tested 2026-11-13 UTC. Newer versions may differ and were not tested by us.

{
  "mcpServers": {
    "12306-train-tickets-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "12306-mcp@0.3.10"
      ]
    }
  }
}

Tools listed

get-current-date, get-stations-code-in-city, get-station-code-of-citys, get-station-code-by-names, get-station-by-telecode, get-tickets, get-interline-tickets, get-train-route-stations

Quick config

{
  "mcpServers": {
    "12306-train-tickets-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "12306-mcp"
      ]
    }
  }
}

Add to config Opens the config generator with this server selected.

Setup

  1. Install. Run npm install 12306-mcp (Node 20). This is the exact command we ran on 2026-11-13 UTC.
  2. Configure. Add the mcpServers entry below to your MCP client config.
  3. Verify. Restart the client and check that tools/list returns tools (8 in our test).
{
  "mcpServers": {
    "12306-train-tickets-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "12306-mcp"
      ]
    }
  }
}

Test history

Follow this server (RSS) · Monthly changelog

FAQ

Is 12306 Train Tickets MCP deprecated?

No. 12306-mcp was not deprecated or archived when we last tested it on 2026-11-13 UTC.

What replaces 12306 Train Tickets MCP?

Nothing; 12306 Train Tickets MCP is not deprecated as of 2026-11-13 UTC.

Does 12306 Train Tickets MCP need an API key?

No. It completed an MCP handshake with no credentials and listed 8 tools.

Embed the badge

TestedMCP: 80/100, tested 2026-11-13 UTC

Every tested server gets a free embeddable badge. It shows the current score and test date and expires after 90 days. Testing is free; payment never changes a score.

Claim this listing · Report an issue