lexvibe MCP Server
One-step legal compliance for vibe-coded apps: privacy, terms, cookie banner and EU AI Act check.
lexvibe scores 69 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 10 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 87 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
69 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 69 comes from
22 + 20 + 3 + 10 + 4 + 10 = 69. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "marcosnovo-lexvibe-mcp": { "command": "npx", "args": [ "-y", "@lexvibe/mcp@1.0.4" ], "env": { "LEXVIBE_APP_ID": "", "LEXVIBE_API_URL": "https://golexvibe.com", "LEXVIBE_CDN_URL": "https://golexvibe.com", "LEXVIBE_EVENTS_URL": "", "LEXVIBE_TELEMETRY": "1" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
LEXVIBE_APP_ID | Optional | Your LexVibe app id (used in the installed snippet and API calls). Optional: if unset, tools ask for the id explicitly and warn about the placeholder. |
LEXVIBE_API_URL | Optional | Base URL of the LexVibe API. Only needed for self-hosting / development. |
LEXVIBE_CDN_URL | Optional | Base URL the widget script is served from. Only needed for self-hosting / development (defaults to the LexVibe CDN, or to LEXVIBE_API_URL when that is set). |
LEXVIBE_EVENTS_URL | Optional | Endpoint that receives anonymous tool-usage events (mcp_tool_call) for the Platform analytics. Defaults to the LexVibe events endpoint (or LEXVIBE_API_URL + /api/events when LEXVIBE_API_URL is set). Only needed for self-hosting. |
LEXVIBE_TELEMETRY | Optional | Set to 0/false/off to disable anonymous usage telemetry. DO_NOT_TRACK=1 is also honored. |
Tools10Tool docs quality grade C
All capabilitiescheck_ai_acttoolClassify EU AI Act risk and list the applicable obligations with deadlines.
check_compliancetoolRead-only readiness report: what was detected, what could be auto-derived, and which human facts are still missing. Run it again after adding any SDK to catch drift.
check_websitetoolFree, no-signup compliance check of a deployed site by URL: per-vendor signals, recommendations and EU AI Act applicability (the same public checker as /check).
claim_apptoolCreate a REAL app in the user's LexVibe account: returns a link the user opens to sign in and confirm (valid 7 days).
Generate privacy policy / terms / AI disclosure, localized and tailored per market.
get_claim_statustoolPoll a claim created with claimapp; once confirmed it returns the real app id, install snippet and policy URL.
install_snippettoolInsert the cookie-banner snippet before </head>; for JSX layouts it returns exact instructions instead.
make_complianttoolOne step: scan → generate docs into /legal → install the banner snippet → classify EU AI Act risk.
scan_projecttoolDetect analytics, payments, generative AI, email collection, third parties and platforms (web / iOS / Android).
verify_snippettoolFetch a deployed URL and confirm the cookie-banner snippet is actually live in the served HTML (ok / missing / unknown).
About
@lexvibe/mcp
LexVibe MCP server — one-step legal compliance for vibe-coded apps (Lovable, Bolt, v0, Next.js, plain HTML). Wire it into your AI assistant (Claude Code, Claude Desktop, Cursor…) and it makes your app "legally ready" without you knowing the law: privacy policy, terms of service, cookie consent banner with real script blocking, and an EU AI Act risk check.
Not using an AI coding tool? The same checks run in the browser: paste your URL into the free website checker — no signup.
Tools
| Tool | What it does |
|---|---|
make_compliant | One step: scan → generate docs into /legal → install the banner snippet → classify EU AI Act risk. |
check_compliance | Read-only readiness report: what was detected, what could be auto-derived, and which human facts are still missing. Run it again after adding any SDK to catch drift. |
scan_project | Detect analytics, payments, generative AI, email collection, third parties and platforms (web / iOS / Android). |
check_website | Free, no-signup compliance check of a deployed site by URL: per-vendor signals, recommendations and EU AI Act applicability (the same public checker as /check). |
verify_snippet | Fetch a deployed URL and confirm the cookie-banner snippet is actually live in the served HTML (ok / missing / unknown). |
generate_policies | Generate privacy policy / terms / AI disclosure, localized and tailored per market. |
install_snippet | Insert the cookie-banner snippet before </head>; for JSX layouts it returns exact instructions instead. |
check_ai_act | Classify EU AI Act risk and list the applicable obligations with deadlines. |
claim_app | Create a REAL app in the user's LexVibe account: returns a link the user opens to sign in and confirm (valid 7 days). |
get_claim_status | Poll a claim created with claim_app; once confirmed it returns the real app id, install snippet and policy URL. |
Typical use (natural language)
"Make my app legally compliant for the EU and the US."
One make_compliant call: the agent scans the project, writes the localized
policies to /legal, installs the cookie-banner snippet in your HTML head and
returns the EU AI Act classification plus next steps. You just review and
approve.
Draft-first flow: start with check_compliance — it reports what the scan
could figure out on its own and returns an agentPrompt your coding agent can
answer by reading the repo (company entity, contact email, target markets), so
there are no forms to fill.
No app id yet? The agent calls claim_app and hands you a link: open it, sign
in and confirm — that creates the real app in your LexVibe account (hosted,
auto-updated policies and consent proof linked to you). The agent then picks up
the real app id via get_claim_status and replaces any YOUR_APP_ID
placeholder automatically.
Keep your policies in sync with your code
Legal documents describe your app as it was when they were generated. Every SDK you add afterwards — payments, analytics, auth, AI — is a processing activity your documents don't cover yet. LexVibe calls this drift, and the MCP server is the sensor that lives inside your AI dev loop: the same assistant that adds the SDK can catch the compliance gap before you deploy.
Paste this standing rule into your assistant's project rules — AGENTS.md
(Codex, Gemini CLI and most agents), CLAUDE.md, .cursorrules,
.windsurfrules…:
After adding any SDK, analytics, payments, auth or AI integration to this project, run LexVibe's
check_compliancetool and follow its recommendation.
When check_compliance reports processing activities that were added after
your documents were generated, re-run generate_policies (or
make_compliant) so the documents disclose the new processing. The same
applies to the deployed site: check_website detects the trackers that
actually ship to visitors, so you can catch drift the local scan can't see
(scripts injected by a CMS, a tag manager, a no-code platform…). Claimed apps
are also watched by LexVibe's other drift sensors (periodic site rechecks and
the GitHub integration), and the remote check_website tool additionally
returns a drift section for claimed apps comparing the live site against
the baseline the documents were generated from.
Agent skill
skills/lexvibe-compliance/SKILL.md is
an Agent Skill that tells your coding agent when to
use this server (before a deploy, after adding an SDK) and how to report the
result honestly. Drop the folder into your agent's skills directory — e.g.
.claude/skills/ in Claude Code — next to the MCP server below.
Quickstart
npx -y @lexvibe/mcp # or build from source: npm run build -w packages/mcp
Claude Code (.mcp.json in your project, or claude mcp add)
{
"mcpServers": {
"lexvibe": {
"command": "npx",
"args": ["-y", "@lexvibe/mcp"],
"env": {
"LEXVIBE_APP_ID": "your-app-id"
}
}
}
}
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lexvibe": {
"command": "npx",
"args": ["-y", "@lexvibe/mcp"],
"env": {
"LEXVIBE_APP_ID": "your-app-id"
}
}
}
}
Claude Desktop uses the same mcpServers structure in
claude_desktop_config.json.
Codex CLI (~/.codex/config.toml)
Codex is the one client that does not use the mcpServers JSON above — its
config is TOML:
codex mcp add lexvibe -- npx -y @lexvibe/mcp
Or by hand:
[mcp_servers.lexvibe]
command = "npx"
args = ["-y", "@lexvibe/mcp"]
env = { LEXVIBE_APP_ID = "YOUR_APP_ID" }
Project-scoped config lives in .codex/config.toml (trusted projects only).
Gemini CLI (~/.gemini/settings.json)
Same mcpServers shape as Cursor. For the remote server use httpUrl, not
url: in Gemini CLI url means SSE, and this endpoint speaks Streamable HTTP
only, so url fails without saying why.
{
"mcpServers": {
"lexvibe": { "httpUrl": "https://golexvibe.com/api/mcp" }
}
}
Remote MCP (no install)
Browser-based agents that cannot run local processes — claude.ai / Claude Desktop connectors, ChatGPT connectors — can use the hosted remote server instead (Streamable HTTP, no auth):
https://golexvibe.com/api/mcp
The remote server has no filesystem access, so it exposes the remote-safe
subset: check_website, check_store, generate_policies (template-based
drafts, capped for anonymous callers), check_ai_act, get_install_snippet,
plus claim_app / get_claim_status to create a real app in the user's
account. Stdio-only clients can bridge to it with
npx -y mcp-remote https://golexvibe.com/api/mcp.
Which integration to use, per platform
| Platform | Integration | How |
|---|---|---|
| Claude Code | stdio (or remote) | claude mcp add lexvibe -- npx -y @lexvibe/mcp |
| Cursor / Windsurf / Cline / VS Code | stdio | mcpServers config with npx -y @lexvibe/mcp |
| Codex CLI | stdio (or remote) | codex mcp add lexvibe -- npx -y @lexvibe/mcp |
| Gemini CLI | stdio (or remote) | mcpServers in ~/.gemini/settings.json |
| Zed | stdio (or remote) | context_servers in settings.json |
| Claude Desktop / claude.ai | remote | Settings → Connectors → https://golexvibe.com/api/mcp |
| ChatGPT | remote | Settings → Connectors → https://golexvibe.com/api/mcp |
| Lovable / Bolt / v0 / Base44 / Replit | prompt (no MCP) | Paste the one-liner from https://golexvibe.com/prompt |
Full per-platform setup guide: https://golexvibe.com/docs/integrations
Configuration
| Variable | Default | Purpose |
|---|---|---|
LEXVIBE_APP_ID | YOUR_APP_ID | Your LexVibe app id (links the snippet to your hosted policies) |
LEXVIBE_API_URL | https://golexvibe.com | LexVibe instance that generates documents and classifies AI risk |
LEXVIBE_CDN_URL | https://golexvibe.com | Host the widget script is served from (self-hosting only) |
LEXVIBE_EVENTS_URL | LexVibe events endpoint | Override where anonymous tool-usage events are sent (self-hosting) |
LEXVIBE_TELEMETRY | 1 | Set to 0 / false / off to disable usage telemetry |
Usage analytics
Each tool call sends one anonymous mcp_tool_call event to LexVibe so your MCP
usage shows up alongside your website in the Platform analytics dashboard
(same event the hosted remote server already records, tagged
source: "mcp_stdio" so the two channels are distinguishable).
- Anonymous. The event carries only the tool name, the package version and —
only when
LEXVIBE_APP_IDis a real app id (a valid UUID) — that app id, so the events map to your app. Placeholders likeyour-app-idare ignored. Never your file paths, file contents, app name, emails or generated documents. - Non-blocking. It's fire-and-forget with a 3s timeout: it never delays, breaks or fails a tool call, even offline.
- Opt-out. Set
LEXVIBE_TELEMETRY=0(or the de-factoDO_NOT_TRACK=1) to turn it off completely.
Side effects:
scan_project,check_compliance,check_website,verify_snippet,check_ai_actandget_claim_statusare read-only (check_website, the AI Act check and the claim poll call the LexVibe API;verify_snippetfetches the URL you pass it — public http(s) hosts only, with the same anti-SSRF validation the platform uses).generate_policiescalls the API and returns Markdown.install_snippetedits one file on your local filesystem (only when it contains</head>).make_compliantdoes both: it calls the API and writes files (/legal/*.mdplus the snippet in your HTML head).claim_appcreates a pending claim in LexVibe; the app itself is only created when the user confirms the link while signed in.
Learn more
- LexVibe — hosted legal documents and a cookie banner with real script blocking, for web and mobile apps.
- Free website checker — paste a URL and see which documents and consent your site needs. No signup.
- Compliance guides — each privacy law applied to the kind of product you built (SaaS, marketplace, mobile app, AI tool). Also in Spanish.
- Privacy and AI law reference — every framework with its effective date, the rights it grants and its primary sources, also available as an open dataset (CC BY 4.0).
- Integration guides — setup for Claude, Cursor, Codex, Gemini CLI, ChatGPT, Lovable, Bolt, v0 and more.
Frequently asked questions
What is lexvibe MCP Server?
One-step legal compliance for vibe-coded apps: privacy, terms, cookie banner and EU AI Act check.
How do I install lexvibe MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. lexvibe MCP Server runs locally from the npm package @lexvibe/mcp with the command npx -y @lexvibe/mcp@1.0.4.
Is lexvibe MCP Server free and open source?
Yes. lexvibe MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does lexvibe MCP Server support remote (HTTP) connections?
Yes. lexvibe MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does lexvibe MCP Server provide?
lexvibe MCP Server provides 10 tools, including check_ai_act, check_compliance, check_website, and claim_app. See the full tool list for descriptions and parameters.
How is lexvibe MCP Server's trust score calculated?
lexvibe MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.