mcp-server-12306 vs time
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-server-12306 by drfccv | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 327 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 50 | 77 |
| 官方 | — | ✓ |
| 分类 | AI / LLM 工具travel开发者工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
mcp-server-12306 · 概述
12306 MCP Server 是一个通过 MCP 协议提供实时火车票数据查询的高性能系统。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
mcp-server-12306 · 使用场景
- 帮助旅客查找和比较火车选项的 AI 助手
- 需要实时 12306 数据的自动化旅行预订系统
- 需要显示实时列车时刻表和可用性的应用程序
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
mcp-server-12306 · 安装
安装
模式 1:Stdio 模式(Claude Desktop 推荐)
使用 uvx:
{
"mcpServers": {
"12306": {
"command": "uvx",
"args": ["mcp-server-12306"]
}
}
}使用 pipx:
{
"mcpServers": {
"12306": {
"command": "pipx",
"args": ["run", "--no-cache", "mcp-server-12306"]
}
}
}模式 2:HTTP 模式
git clone https://github.com/drfccv/mcp-server-12306.git
cd mcp-server-12306
uv sync
uv run python scripts/start_server.py客户端配置:
{
"mcpServers": {
"12306": {
"url": "http://localhost:8000/mcp"
}
}
}time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}