OpenTK Model Context Protocol Server - MCP服务,MCP服务器,MCP教程

基本能力

产品定位

OpenTK MCP Server 是一个连接大型语言模型与荷兰议会数据的中间件,旨在为 AI 助手提供结构化的议会数据访问能力。

核心功能

  1. MP 信息工具
  2. birthdays_today:列出今天过生日的议员
  3. list_persons:提供当前议员的完整目录
  4. get_photo:获取议员的官方肖像照片

  5. 搜索工具

  6. search_tk:全面搜索所有议会数据
  7. search_tk_filtered:按文档类型过滤搜索
  8. search_by_category:按特定类别搜索文档

  9. 文档工具

  10. get_document_details:检索议会文档的元数据
  11. get_document_links:将文档 URL 转换为可点击链接

  12. 委员会工具

  13. get_committees:检索所有议会委员会的列表
  14. get_committee_details:检索特定委员会的详细信息

  15. 活动和投票工具

  16. get_upcoming_activities:检索即将举行的议会活动
  17. get_voting_results:检索议会动议和法案的最近投票结果

适用场景

  1. 研究气候政策等议会讨论
  2. 查询特定议员的信息和背景
  3. 查找最近的住房立法
  4. 查找今天过生日的议员
  5. 查询下周的议会活动安排

使用教程

使用依赖

  1. 确保已安装 Node.js 和 npm
  2. 确保已安装 Git

安装教程

  1. 克隆仓库
    bash
    git clone https://github.com/r-huijts/opentk-mcp.git
    cd opentk-mcp

  2. 安装依赖
    bash
    npm install

  3. 构建项目
    bash
    npm run build

  4. 启动服务器
    bash
    npm start

配置 Claude Desktop

更新 Claude 配置文件:
json
{
"mcpServers": {
"opentk-mcp-local": {
"command": "node",
"args": [
"/absolute/path/to/your/opentk-mcp/dist/index.js"
]
}
}
}

调试方式

  1. 检查服务器是否正常运行:
    bash
    curl http://localhost:3000/health

  2. 测试基本功能:
    bash
    curl -X POST http://localhost:3000/api/search -d '{"query":"klimaatbeleid"}'

点击访问

搜索工具

Dify Workflow MCP Tool Server - MCP服务,MCP服务器,MCP教程

2025-4-29 16:49:58

搜索工具

MCP Template - MCP服务,MCP服务器,MCP教程

2025-4-29 16:50:06

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索