Token导航 LogoToken导航TokenDH.com
Poligraph MCP logo
AI代理未说明官方级别未说明来源级核验

Poligraph MCP

MCP Server

Poligraph MCP Server是一个通过MCP协议提供法国政治数据查询的服务,支持Claude、ChatGPT等客户端使用,适用于记者、研究人员和公民进行自然语言查询。

工具数

18

提示词数

0

GitHub Stars

0

资源数

0
TypeScriptClaude数据服务Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ironlam

提供方

ironlam

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Poligraph MCP服务器

服务器 主控程序 (模型上下文协议)公开数据 Poligraph 作为Claude、ChatGPT和任何兼容MCP客户端的工具。

允许记者、研究人员和公民以自然语言查询法国政治数据。

快速使用

远程服务器(无安装)

服务器部署在Vercel上,可直接访问:

https://poligraph-mcp.vercel.app/mcp

克劳德桌面

添加到您的文件 claude_desktop_config.json :

{
  "mcpServers": {
    "poligraph": {
      "type": "streamable-http",
      "url": "https://poligraph-mcp.vercel.app/mcp"
    }
  }
}

克劳德代码

claude mcp add poligraph --transport http https://poligraph-mcp.vercel.app/mcp

ChatGPT应用程序

服务器与兼容 ChatGPT应用程序 通过MCP协议。

创建ChatGPT连接器:

  1. 继续 platform.openai.com > 行动 > 创建新操作
  2. 选择 MCP服务器 作为连接器类型
  3. 输入服务器URL:
   https://poligraph-mcp.vercel.app/mcp
  1. 将自动检测所有18个工具
  2. 在GPT或应用程序中发布操作

ChatGPT功能:

  • annotations :所有工具都已标记 readOnlyHint: true (只读)
  • _meta OpenAI:调用期间的状态消息(例如:“搜索政治家…”)
  • structuredContent :除了Markdown文本之外的结构化JSON数据

安装区域设置(stdio)

git clone https://github.com/ironlam/poligraph-mcp.git
cd poligraph-mcp
npm install
npm run build

在MCP客户端的配置中添加:

{
  "mcpServers": {
    "poligraph": {
      "command": "node",
      "args": ["/chemin/absolu/vers/poligraph-mcp/build/index.js"]
    }
  }
}

Claude桌面配置文件的位置:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 窗户: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

可用工具(18)

政治家

工具说明
search_politicians按姓名、政党或授权类型搜索政治家
get_politician完整文件:授权、资产申报、业务
get_politician_relations关系:同一政党、政府、立法机构、部门

司法事务

工具说明
list_affairs带过滤器的法院案件列表(状态、类别)
get_politician_affairs政治家的法庭案件,包括来源和细节

议会投票

工具说明
list_votes 议会选举(国民议会和参议院)
get_politician_votes具有参与统计数据的议员投票
get_vote_stats按政党划分的投票统计:凝聚力、分裂投票

授权

工具说明
list_mandates政治任务清单(类型、机构、有效/终止状态)

政党

工具说明
list_parties具有过滤器的缔约方列表(位置、活动/解散状态)
get_party完整记录:成员、亲子关系、政治立场

事实核查

工具说明
list_factchecks事实检查(事实AFP、解码器等)
get_politician_factchecks提到特定政治家的事实检查

选举

工具说明
list_elections带过滤器的法国选举(类型、状态、年份)
get_election详情:申请、结果、参与

地理

工具说明
get_department_stats按部门分列的统计数据:当选官员、占主导地位的政党、分布情况
get_deputies_by_department特定部门的现任议员

研究

工具说明
search_advanced使用组合过滤器(部门、状态等)进行高级搜索

建筑

src/
├── index.ts          # Point d'entrée CLI (transport stdio)
├── server.ts         # Factory MCP server & enregistrement des tools
├── http.ts           # Serveur Express (transport HTTP Streamable)
├── api.ts            # Client API (https://poligraph.fr)
├── tools/
│   ├── politicians.ts
│   ├── affairs.ts
│   ├── votes.ts
│   ├── legislation.ts
│   ├── factchecks.ts
│   ├── parties.ts
│   ├── elections.ts
│   ├── mandates.ts
│   └── departments.ts
└── tests/
    └── api-contract.test.ts
api/
└── mcp.ts            # Handler Vercel (serverless)

支持的运输:

  • 标准 --克劳德桌面/克劳德代码本地
  • HTTP 流式传输 -Express或Vercel服务器,支持ChatGPT操作

发展

npm run dev          # Compilation en mode watch
npm run build        # Build production
npm run start:http   # Serveur HTTP local (port 3001)
npm run inspect      # Tester interactivement avec MCP Inspector
npm run test:build   # Build + tests de contrat API

数据来源

所有数据均来自官方来源:

poligraph.fr/来源 以获取完整列表。

许可证

麻省理工学院

目录标签

目录标签

TypeScriptClaude数据服务政治数据混合部署自然语言查询MCP协议法国政治

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

18

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP