MCP Catalogs
首页

FastAPI-BitNet vs time

并排对比,帮你在这两个 MCP server 之间做选择。

FastAPI-BitNet
by grctest
time
by modelcontextprotocol
Stars★ 38★ 85,748
30天用量
综合分4277
官方
分类
AI / LLM 工具开发者工具
效率工具开发者工具沟通协作
实现语言PythonTypeScript
最近提交11 个月前本月

FastAPI-BitNet · 概述

基于FastAPI的BitNet模型MCP服务器,支持会话管理、聊天和基准测试功能。

time · 概述

功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。

FastAPI-BitNet · 使用场景

  • 对BitNet模型进行编程测试和基准测试
  • 通过API与多个BitNet实例聊天
  • 将BitNet功能作为工具集成到VS Code Copilot中

time · 使用场景

  • 协助安排跨时区的国际会议
  • 为基于位置的查询提供实时时间信息
  • 为旅行计划和行程安排提供时间转换

FastAPI-BitNet · 安装

安装

  1. 前置条件:Docker Desktop、Conda、Python 3.10+
  2. 设置Python环境:

``bash conda create -n bitnet python=3.11 conda activate bitnet ``

  1. 安装Huggingface CLI:

``bash pip install -U "huggingface_hub[cli]" ``

  1. 下载BitNet模型:

``bash huggingface-cli download microsoft/BitNet-b1.58-2B-4T-gguf --local-dir app/models/BitNet-b1.58-2B-4T ``

  1. 使用Docker运行(推荐):

``bash docker build -t fastapi_bitnet . docker run -d --name ai_container -p 8080:8080 fastapi_bitnet ``

Claude Desktop配置

添加到claude_desktop_config.json

{
  "mcpServers": {
    "fastapi-bitnet": {
      "command": "http",
      "args": ["http://localhost:8080/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"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。