time vs openapi-mcp-swagger
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | openapi-mcp-swagger by salacoste | |
|---|---|---|
| Stars | ★ 85,748 | ★ 16 |
| 30天用量 | — | — |
| 综合分 | 77 | 39 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具AI / LLM 工具搜索 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 本月 | 8 个月前 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
openapi-mcp-swagger · 概述
将 Swagger/OpenAPI 规范转换为可搜索的 MCP 服务器,让 AI 助手能够智能查询 API 文档并生成代码。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
openapi-mcp-swagger · 使用场景
- AI 驱动的 API 集成和复杂端点代码生成
- 使用自然语言发现 API 功能和关系
- 实时 API 文档搜索和智能相关性排名
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"]
}
}
}openapi-mcp-swagger · 安装
# 从源码安装
git clone https://github.com/salacoste/openapi-mcp-swagger.git
cd openapi-mcp-swagger
pip install -r requirements.txt
# 将 Swagger 文件转换为 MCP 服务器
swagger-mcp-server convert swagger-openapi-data/your-api.json --name your-api
cd mcp-server-your-api
swagger-mcp-server serve
# 对于 Claude Desktop,添加到 Claude 的配置文件中:
{
"mcpServers": {
"your-api": {
"command": "swagger-mcp-server",
"args": ["serve", "--port", "8080"]
}
}
}```