
LexPact UK Contracts
io.github.IdadabhaiPublished by GitHub account Idadabhaiv1.0.1Updated Nov 7, 2026
Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
Overview
Generates UK-law business contracts such as NDAs, service and freelance agreements through the LexPact API, using three tools.
- What you can do
- List available UK contract templates
- Generate a contract from a chosen template
- Retrieve a previously generated contract
- All validation and generation run on the LexPact service, with errors passed back to the assistant
- When to use it
- Useful when you want an assistant to draft standard UK-law business paperwork — NDAs, service agreements, freelance contracts, recruiter terms of business or IR35-related documents — without leaving the chat.
- Requirements
- Runs locally as an npm package (lexpact-mcp-server) started with Node.js, configured in the MCP client. Requires a LexPact API key supplied in the LEXPACT_API_KEY environment variable, obtained from the LexPact dashboard. Network access to the LexPact API; an optional LEXPACT_API_BASE_URL variable can override the endpoint.
Installation
In SourceWeft
- Open LexPact UK Contracts in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
LexPact MCP Server
Exposes the LexPact contract generation API to Claude Desktop
(or any MCP client) as three tools: list_contract_templates, generate_contract,
get_contract. Thin proxy only — all validation and generation happens server-side
at https://lexpact.co.uk/api/v1, so structured, LLM-actionable error messages reach
Claude unchanged.
Setup
- Get an API key at lexpact.co.uk/dashboard/api-keys.
- Install dependencies:
- Add to your Claude Desktop config (
claude_desktop_config.json— Settings → Developer → Edit Config): - Restart Claude Desktop. Ask it to draft a contract — it will call
list_contract_templatesandgenerate_contractas needed.
Environment variables
Manual test
Then connect any MCP client (e.g. the MCP Inspector: npx @modelcontextprotocol/inspector node index.js).
Source: README.md at commit 3174da1
Tools
0Version history
1- v1.0.1LatestNov 7, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts