MCP Catalogs
首页

mcp-congress_gov_server vs filesystem

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

mcp-congress_gov_server
by bsmi021
filesystem
by modelcontextprotocol
Stars★ 8★ 85,748
30天用量
综合分3877
官方
分类
开发者工具AI / LLM 工具government
本地文件系统开发者工具效率工具
实现语言TypeScriptTypeScript
最近提交12 个月前本月

mcp-congress_gov_server · 概述

提供美国国会.gov立法数据的MCP服务器,通过混合资源和工具访问。

filesystem · 概述

功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。

mcp-congress_gov_server · 使用场景

  • 需要检索美国立法信息以进行政策分析的 AI 助手
  • 跟踪投票记录和法案赞助模式的研究应用程序
  • 需要实时访问国会数据以进行文档编制或应用程序的开发工具

filesystem · 使用场景

  • 使 AI 模型能够读取和写入项目文件进行开发
  • 允许 Claude 或其他 MCP 客户端浏览和分析代码库
  • 为内容生成提供对特定目录的安全沙盒访问

mcp-congress_gov_server · 安装

安装

  1. 安装依赖项:
npm install
  1. 设置您的 API 密钥:

创建一个 .env 文件,包含:

CONGRESS_GOV_API_KEY=YOUR_API_KEY_HERE
  1. 构建服务器:
npm run build
  1. 运行服务器:
npm start

Claude Desktop 配置

添加到您的 Claude Desktop config.json:

{
  "mcpServers": {
    "congress-gov": {
      "command": "node",
      "args": ["dist/server.js"]
    }
  }
}

filesystem · 安装

安装

使用 NPX

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory"
      ]
    }
  }
}

使用 Docker

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
        "mcp/filesystem",
        "/projects"
      ]
    }
  }
}

VS Code 扩展

点击 README 中的安装按钮直接在 VS Code 中安装。

对比内容由 README + GitHub 公开数据自动生成,定期更新。