Generate, audit, version, and maintain code-aware legal policies through MCP-connected development tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by PolicyForge MCP Server.
generate_policyGenerate a legal policy (privacy policy, terms of service, cookie policy, refund policy, EULA, or disclaimer) for a business and return its Markdown content plus a hosted URL. Consumes one policy from the account's quota. IMPORTANT: if you are working inside the user's project, call get_disclosure_checklist and scan the codebase FIRST (dependencies, script tags, cookie writes, outbound hosts), then fill the optional fields below from what the code actually does — do not ask the user for facts you can read from source. Only ask for what code cannot tell you: legal company name, contact email, physical address, governing law. For terms_of_service, eula and disclaimer, always ask for governing_law: without it (or a physical address to infer it from) the document contains a marker to fill in. The result lists claims to verify: specific statements about third parties, certifications or deadlines that your inputs did not supply. Show them to the user and fix them with update_policy before publishing. Generation takes 40-60 seconds; if it is not finished within about 45 seconds this returns a job ID instead, and check_generation fetches the result. Never call generate_policy again for the same policy while a job is running.
generate_baaGenerate a HIPAA Business Associate Agreement (BAA) between a covered entity and a vendor that handles Protected Health Information. Built from the clauses required by 45 CFR 164.504(e) and validated clause by clause before it is returned. Use this instead of generate_policy for BAAs — a BAA is a binding two-party contract, not a published policy, so it needs both parties' legal names and addresses and is never hosted at a public URL. Ask the user for the party details, effective date, and governing law: these are negotiated facts you cannot read from source code. Requires a Pro plan. The result is a draft for counsel to review, not executed legal advice. If it is not finished within about 45 seconds this returns a job ID; use check_generation for the result.
list_policiesList the policies previously created on this PolicyForge account, newest first.
get_policyRetrieve a single policy by ID, including its status, hosted URL, and full Markdown content.
check_generationGet the result of a generate_policy, generate_baa or regenerate_policy call that was still running when it returned a job ID. Returns the finished policy, the error if generation failed, or says it is still running. Use this instead of starting the generation again, which would create a duplicate.
update_policyUpdate an existing policy in place — the policy ID, hosted URL, and embed keep working, so links already published on the user's site stay valid. Use this instead of generate_policy when the business context changed (new SDK, new data flow, renamed company): fetch the current content with get_policy, then either send small changes as `edits` (exact find/replace pairs, best for one-line fixes) or submit the complete revised Markdown as `content`. The previous content is saved as a version first, so restore_policy_version can undo a bad update.
PolicyForge MCP Server MCP server gives MCP-compatible coding tools access to PolicyForge policy generation and management. It can create privacy policies, terms of service, cookie policies, refund policies, EULAs, and disclaimers using business details, jurisdiction, and information discovered in a project. A separate tool creates HIPAA Business Associate Agreements between a covered entity and a vendor handling protected health information; that tool is available on the Pro plan and does not publish the agreement publicly.
The service also provides operational checks around an existing policy. Compliance auditing compares a scanned code manifest with the disclosures in a policy, while freshness checking compares a current scan with the manifest saved when the policy was generated. This makes the server relevant for teams that need to review policy coverage after application changes rather than generating documents only once.
A typical workflow begins with get_disclosure_checklist. The agent uses the rubric to inspect dependencies, script tags, cookie writes, and outbound hosts, then builds a stack manifest. That context is sent to generate_policy along with the policy type, business type, jurisdiction, company name, and contact email. The manifest is retained for later drift checks.
Generation returns Markdown and a hosted URL. If a request remains in progress, check_generation retrieves the result using its job ID; generation can take 40–60 seconds, while tools wait up to 45 seconds. regenerate_policy can rerun generation with changed context without changing the policy ID or hosted URL. update_policy supports find-and-replace edits or replacement of the full content.
Before updates, regenerations, and restores, the service saves a snapshot. list_policy_versions shows that history, and restore_policy_version can return a policy to an earlier state. The restore operation is itself reversible.
PolicyForge MCP Server MCP server supports three connection patterns. Remote OAuth uses https://policyforge.co/api/mcp and lets the client handle sign-in. Remote API-key access uses the same endpoint with an Authorization: Bearer ... header. Local stdio access runs the package with npx -y @policyforge/mcp@latest and supplies POLICYFORGE_API_KEY in the environment.
The README documents setup for Claude Code, Cursor, Claude Desktop, and Windsurf. Configuration changes require restarting the client. Windows users may need to run npx through cmd with /c. An account is required; the README identifies PolicyForge accounts and API keys as the authentication methods.
The tool set covers:
get_integration_guide provides embed or link instructions for Next.js, React, plain HTML, and WordPress. list_policies supports type and status filters with pagination.
Policy generation consumes quota. The free tier provides two generations per calendar month plus a one-time three-generation bonus on the first MCP connection, according to the README. generate_policy and regenerate_policy consume quota, while compliance audits, freshness checks, and the disclosure checklist do not. The BAA tool is restricted to the Pro plan.
Deleting a policy is permanent and makes its hosted URL stop working. A 401 response indicates an authentication problem, a 402 indicates exhausted generation quota, and a 429 indicates rate limiting. The documented free-tier rate limit is 10 requests per minute and 100 per day. Policy output depends on the business context and code scan supplied to the service, so the generated material should be reviewed for project-specific accuracy.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-52)<a href="https://allmcps.com/mcp/mcp-52"><img src="https://allmcps.com/api/badge/mcp-52?style=directory" alt="PolicyForge MCP Server on AllMCPs" /></a>