mcp · policyforge — Claude Code MCP server for code-based policies
Generate and review legal policies against what an application’s code does. Useful when policy disclosures need to track the project as it changes.
claude mcp add --transport http mcp https://policyforge.co/api/mcpWhat mcp does
PolicyForge MCP gives a coding agent tools to create and maintain legal policies using a project scan. It can compare a policy’s disclosures with the scanned code, check for changes since the policy was generated, and update or restore a document version.
The server can also create HIPAA business associate agreements, a Pro feature. Compliance audits and freshness checks do not use generation quota; generating or regenerating a policy does. Check remaining usage with get_usage before requesting several documents. Connect over HTTP or run the local npx process with a POLICYFORGE_API_KEY.
What it helps with
- create a privacy policy from an application’s code
- compare policy disclosures with a project scan
- detect code changes since policy generation
- revise a policy or restore an earlier version
Example prompts for the agent
- Create a privacy policy for this project based on its code.
- Check whether this policy covers the data the application handles.
- Compare the current code with the policy’s stored manifest and report changes.
How to install mcp
1Platform CLI: remote server
claude mcp add --transport http mcp https://policyforge.co/api/mcp2Platform CLI
claude mcp add --env POLICYFORGE_API_KEY=<POLICYFORGE_API_KEY> --transport stdio policyforge-mcp -- npx -y @policyforge/mcpReplace <…> with your own values
1Platform CLI: remote server
codex mcp add policyforge-mcp --url https://policyforge.co/api/mcp2Platform CLI
codex mcp add policyforge-mcp --env POLICYFORGE_API_KEY=<POLICYFORGE_API_KEY> -- npx -y @policyforge/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"policyforge-mcp": {
"url": "https://policyforge.co/api/mcp"
}
}
}{
"mcpServers": {
"policyforge-mcp": {
"command": "npx",
"args": [
"-y",
"@policyforge/mcp"
],
"env": {
"POLICYFORGE_API_KEY": "<POLICYFORGE_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"policyforge-mcp": {
"type": "http",
"url": "https://policyforge.co/api/mcp"
}
}
}{
"servers": {
"policyforge-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@policyforge/mcp"
],
"env": {
"POLICYFORGE_API_KEY": "<POLICYFORGE_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http policyforge-mcp https://policyforge.co/api/mcp2Platform CLI
gemini mcp add -e POLICYFORGE_API_KEY=<POLICYFORGE_API_KEY> policyforge-mcp npx -y @policyforge/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp
How do I install mcp in Claude Code?
Run claude mcp add --transport http mcp https://policyforge.co/api/mcp.
What does mcp do?
It provides tools to generate and edit legal policies from a project scan, audit disclosures against the code, and track changes over time.
Which checks use the generation quota?
Compliance audits and policy freshness checks are free. Policy generation and regeneration consume quota.
Similar MCP servers
MCP servers catalog →mcp by other authors comes first.