Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Generate, audit, and maintain legal policies that match what your code actually does.
选择你使用的 AI 应用,然后复制设置。
通过 4/5 项检查 · 你的提问会经过开发者的服务器(policyforge.co) · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
CustomizeConnectors
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Policyforge MCPhttps://policyforge.co/api/mcp在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
+ConnectorsPolicyforge MCP
用 Policyforge MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Policyforge MCP,或回答中出现 Policyforge MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
能否连接 ChatGPT 取决于方案
完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页
Plugins+Add custom MCP server
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Policyforge MCPhttps://policyforge.co/api/mcp开启新聊天,输入前先从插件列表中选择 Policyforge MCP
用 Policyforge MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Policyforge MCP,或回答中出现 Policyforge MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --transport http --scope user policyforge https://policyforge.co/api/mcp应能看到 Policyforge MCP 在列表中并显示已连接
用 Policyforge MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Policyforge MCP,或回答中出现 Policyforge MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
用 Policyforge MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Policyforge MCP,或回答中出现 Policyforge MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
用 Policyforge MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Policyforge MCP,或回答中出现 Policyforge MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://policyforge.co/api/mcpJSON 设置在下方“开发者专用”中
Claude Code
claude mcp add --transport http --scope user policyforge https://policyforge.co/api/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"policyforge": {
"url": "https://policyforge.co/api/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"policyforge": {
"type": "http",
"url": "https://policyforge.co/api/mcp"
}
}
}Claude Code
claude mcp add --scope user policyforge --env POLICYFORGE_API_KEY=your-value -- npx -y @policyforge/mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"policyforge": {
"command": "npx",
"args": [
"-y",
"@policyforge/mcp"
],
"env": {
"POLICYFORGE_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"policyforge": {
"command": "npx",
"args": [
"-y",
"@policyforge/mcp"
],
"env": {
"POLICYFORGE_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"policyforge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@policyforge/mcp"
],
"env": {
"POLICYFORGE_API_KEY": "your-value"
}
}
}
}POLICYFORGE_API_KEY 机密 必填 env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
服务器要求先登录,才会列出它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
注册名称已通过域名 policyforge.co 验证(注册中心会核实域名所有权)
代码最后更新于15天前
仓库中没有找到许可证文件
在 214 毫秒内响应(HTTP 401)
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
尚未检查;我们会在检查端点时读取工具列表
尚未检查
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 5 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:POLICYFORGE_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于15天前,最新版本(0.9.0)于15天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
同一分类中有:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Generate legal policies — privacy policies, terms of service, cookie policies, refund policies, EULAs, disclaimers, and HIPAA Business Associate Agreements — directly from your AI coding tools (Claude Code, Cursor, Windsurf, Claude Desktop) via the Model Context Protocol.
Ask your agent *"generate a GDPR + CCPA privacy policy for this app"* and it fills the details from your codebase, calls PolicyForge, and drops the policy straight into your project.
Try it free: compliance audits (audit_compliance), drift checks (check_policy_freshness), and the scan rubric (get_disclosure_checklist) are unlimited and never touch your quota — start with *"audit our compliance — does the privacy policy cover everything this code actually does?"*. And the first time your account connects through MCP it gets 3 bonus policy generations on top of the free 2/month — enough to generate privacy, terms, and cookie policies for a new project in one conversation.
Pick the row that matches your client. If you're unsure, start with A.
| How you sign in | Best for | |
|---|---|---|
| A. Remote + OAuth | Browser sign-in, no key to copy | Clients that support OAuth (Claude, ChatGPT) |
| B. Remote + API key | Authorization header | Any client that can send a header |
| C. Local (npx) | POLICYFORGE_API_KEY env var | Running the server as a local process |
All three expose the same tools. A and B need nothing installed.
No key to copy, no config file to edit. You'll need a PolicyForge account first — https://policyforge.co, free, no card.
1. Add the server. The -s user makes it available in every project rather than only the directory you ran this in:
claude mcp add -s user --transport http policyforge https://policyforge.co/api/mcp
Note there is no --header. Omitting it is what makes the client use OAuth.
2. Restart your client. MCP config is read at startup, so a session that was already running won't see the new server.
3. Authenticate. Run /mcp, select policyforge, and press Enter:
policyforge · △ needs authentication
Your browser opens, you sign in and approve, and the client stores the token itself. You should land back at /mcp showing ✔ connected · 16 tools.
To confirm from the other side, a key named MCP · appears at https://policyforge.co/api-dashboard — that's the grant, and deleting it revokes access.
Other clients differ in step 3: some prompt on first tool use rather than offering an explicit authenticate action.
For clients that don't do OAuth yet. Create a key at https://policyforge.co/api-dashboard, then:
claude mcp add --transport http policyforge https://policyforge.co/api/mcp \
--header "Authorization: Bearer pf_your_key_here"
For clients with URL-based MCP config (Cursor, Windsurf, and others):
{
"mcpServers": { "policyforge": { "url": "https://policyforge.co/api/mcp", "headers": { "Authorization": "Bearer pf_your_key_here" } } } }
Prefer a local process? The server runs via npx — nothing to install globally. Uses an API key from the environment, which is what the MCP spec recommends for stdio transports.
claude mcp add policyforge \
--env POLICYFORGE_API_KEY=your_key_here \ -- npx -y @policyforge/mcp@latest
Add to your MCP config (.cursor/mcp.json, claude_desktop_config.json, etc.):
{
"mcpServers": { "policyforge": { "command": "npx", "args": ["-y", "@policyforge/mcp@latest"], "env": { "POLICYFORGE_API_KEY": "your_key_here" } } } }
On Windows, some clients need the command wrapped: set
"command": "cmd"and
"args": ["/c", "npx", "-y", "@policyforge/mcp@latest"].
See https://policyforge.co/mcp for one-click installs (Cursor/VS Code) and per-client instructions — with your API key pre-filled when signed in.
pf_) — rotate or create one at https://policyforge.co/api-dashboard and restart the client.generate_policy/regenerate_policy consume quota — audits and drift checks are free; ask your agent to run get_usage to see what's left.retry_after.claude mcp add -s user … makes it available everywhere.cmd wrapper above.More detail: https://policyforge.co/mcp#troubleshooting
| Tool | What it does |
|---|---|
generate_policy | Generate a policy and return its Markdown content + hosted URL. Consumes one policy from your quota. |
generate_baa | Generate a HIPAA Business Associate Agreement between a covered entity and a vendor handling PHI. Built from the clauses required by 45 CFR 164.504(e) and validated clause by clause. Pro plan; never publicly hosted. Consumes one policy from your quota. |
regenerate_policy | Re-run the AI engine with changed business context — same ID and hosted URL, previous content saved as a version. |
check_generation | Get the result of a generation that was still running when its tool returned a job ID (generation takes 40-60s; tools wait up to 45s). |
update_policy | Edit a policy in place with find/replace edits or full content — same ID and hosted URL, so published links keep working. |
audit_compliance | Gap analysis: compare what the code does (your scanned manifest) with what a policy discloses. |
check_policy_freshness | Drift detection: diff the current codebase scan against the manifest stored at generation time. |
list_policy_versions | Version history — a snapshot is saved before every update, regeneration, or restore. |
restore_policy_version | Roll a policy back to any previous version (itself reversible). |
list_policies | List policies on your account (filter by type/status, paginate). |
get_policy | Fetch a single policy by ID, including full content. |
delete_policy | Permanently delete a policy (its hosted URL stops working). |
get_usage | Check your tier and remaining generation quota before generating. |
get_disclosure_checklist | The codebase-scan rubric: which SDKs/patterns require disclosure and how findings map to generate_policy fields. |
get_integration_guide | Copy-paste embed/link instructions for Next.js, React, plain HTML, or WordPress. |
list_policy_types | List supported policy types, business types, and jurisdictions. |
Your agent can read your project — so policies come from what the code *actually does*, not what you remember it doing:
get_disclosure_checklist → agent scans dependencies, script tags, cookie writes, and outbound hosts against the rubric, and builds a stack manifest of what it foundgenerate_policy with the detected context + stack_manifest (stored server-side for drift detection)get_integration_guide → agent wires the hosted policy into your footercheck_policy_freshness reports the drift, audit_compliance shows the concrete gaps, and regenerate_policy fixes them — same hosted URL, no broken links, previous version restorablegenerate_policy inputsRequired: type, business_type, jurisdiction, company_name, contact_email
type — privacy_policy · terms_of_service · cookie_policy · refund_policy · eula · disclaimerbusiness_type — e-commerce · saas · healthcare · education · financial · fintech · real-estate · non-profit · consulting · media · mobile_app · otherjurisdiction — one or more of gdpr ccpa pipeda lgpd us eu ca uk au br global (comma-separate to combine, e.g. gdpr,ccpa)Optional context (improves output): website_url, service_description, data_collection[], third_party_integrations[], data_retention, user_accounts, payments, marketing, analytics, cookies, children_data, sells_data, target_audience[], security_measures[], governing_law, physical_address, dpo_email, consent_tracking, hosting_enabled.
generate_baa inputsA Business Associate Agreement is a contract between two named parties, not a published policy, so it takes its own tool and its own fields. Pro plan.
Required: acknowledge_contract (must be true), baa_direction, company_name, contact_email, both parties' legal names and addresses, baa_effective_date (YYYY-MM-DD), baa_services_description, baa_phi_types[], baa_permitted_uses[], baa_governing_law_state.
baa_direction — covered_entity_to_vendor (you are the practice issuing the agreement) or business_associate_to_client (you are the vendor offering it to a healthcare client)baa_phi_types[] — categories of PHI involved. Including "Substance use treatment records (42 CFR Part 2)" adds a Part 2 addendumbaa_permitted_uses[] — anything not listed here is *not* permitted by the agreement (45 CFR 164.504(e)(2)(i))Optional: baa_electronic_phi (default true), baa_uses_subcontractors (default false), baa_term_type, baa_term_end_date, baa_breach_notification_days (1–60, default 30), baa_return_or_destroy, baa_include_indemnification, baa_include_insurance, baa_insurance_amount.
Every generated agreement is checked against the 15 clauses 45 CFR 164.504(e) requires before it is returned; an incomplete draft is refused rather than handed back. The result is still a draft for counsel to review, and it is never published at a public URL.
Only needed for the local (npx) transport. Remote connections authenticate over OAuth or an Authorization header instead.
| Env var | Required | Default | Purpose |
|---|---|---|---|
POLICYFORGE_API_KEY | yes (local only) | — | Your PolicyForge API key. |
POLICYFORGE_API_URL | no | https://policyforge.co | Override the API base URL (self-host/testing). |
This server is a thin wrapper over the PolicyForge public REST API (/api/v1). Every tool maps to one authenticated HTTP request, so quota, rate limiting, and policy generation stay authoritative on the PolicyForge server — the MCP layer holds no secrets beyond your API key and no business logic of its own.
MIT