LexPact UK Contracts
v1.0.2Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
Values you need
| Variable | What it is | |
|---|---|---|
LEXPACT_API_KEY | required secret | Your LexPact API key (lp_live_…) from https://lexpact.co.uk/dashboard/api-keys |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add lexpact -e 'LEXPACT_API_KEY=<LEXPACT_API_KEY>' -- npx -y lexpact-mcp-server@1.0.2Add to
claude_desktop_config.json{
"mcpServers": {
"lexpact": {
"args": [
"-y",
"lexpact-mcp-server@1.0.2"
],
"command": "npx",
"env": {
"LEXPACT_API_KEY": "<LEXPACT_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lexpact": {
"args": [
"-y",
"lexpact-mcp-server@1.0.2"
],
"command": "npx",
"env": {
"LEXPACT_API_KEY": "<LEXPACT_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "LEXPACT_API_KEY",
"id": "lexpact-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"lexpact": {
"args": [
"-y",
"lexpact-mcp-server@1.0.2"
],
"command": "npx",
"env": {
"LEXPACT_API_KEY": "${input:lexpact-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lexpact]
command = "npx"
args = ["-y", "lexpact-mcp-server@1.0.2"]
env = { "LEXPACT_API_KEY" = "<LEXPACT_API_KEY>" }For AI agents
- Ask the user for: LEXPACT_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_contract_templates, generate_contract, get_contract.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json