# 12306 Ticket Search Server MCP server

Agent View of the PolicyLayer registry record for 12306 Ticket Search Server: identity, probed posture, risk grade, and all 8 tools classified. HTML page: https://policylayer.com/tools/deniselewis200081-rail

## Facts

- Server id: `DeniseLewis200081/rail`
- Homepage: https://github.com/DeniseLewis200081/rail
- Registry record: grade A, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 8 (7 with introspected schema)
- Tool categories present: Read
- Context-window cost: 1839 tokens per request — https://policylayer.com/token-cost/deniselewis200081-rail
- Tags: deniselewis200081 rail
- Record last modified: 2026-08-05T00:55:53.401Z

## Tools (8)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `get-current-date` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-current-date.md |
| `get-interline-tickets` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-interline-tickets.md |
| `get-station-by-telecode` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-station-by-telecode.md |
| `get-station-code-by-names` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-station-code-by-names.md |
| `get-station-code-of-citys` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-station-code-of-citys.md |
| `get-stations-code-in-city` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-stations-code-in-city.md |
| `get-tickets` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-tickets.md |
| `get-train-route-stations` | Read | Low | https://policylayer.com/tools/deniselewis200081-rail/get-train-route-stations.md |

## Tool descriptions

- `get-current-date` — 获取当前日期，以上海时区（Asia/Shanghai, UTC+8）为准，返回格式为 "yyyy-MM-dd"。主要用于解析用户提到的相对日期（如“明天”、“下周三”），为其他需要日期的接口提供准确的日期输入。
- `get-interline-tickets` — 查询12306中转余票信息。尚且只支持查询前十条。
- `get-station-by-telecode` — 通过车站的 station_telecode 查询车站的详细信息，包括名称、拼音、所属城市等。此接口主要用于在已知 telecode 的情况下获取更完整的车站数据，或用于特殊查询及调试目的。一般用户对话流程中较少直接触发。
- `get-station-code-by-names` — 通过具体的中文车站名查询其 station_code 和车站名。此接口主要用于在用户提供具体车站名作为出发地或到达地时，为接口准备 station_code 参数。
- `get-station-code-of-citys` — 通过中文城市名查询代表该城市的 station_code。此接口主要用于在用户提供城市名作为出发地或到达地时，为接口准备 station_code 参数。
- `get-stations-code-in-city` — 通过中文城市名查询该城市 所有 火车站的名称及其对应的 station_code，结果是一个包含多个车站信息的列表。
- `get-tickets` — 查询12306余票信息。
- `get-train-route-stations` — 查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=deniselewis200081-rail · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/deniselewis200081-rail
