Back to Browse

Lexpact MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.

About

Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

3 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your LexPact API key (lp_live_…) from https://lexpact.co.uk/dashboard/api-keysRequired

Environment variable: LEXPACT_API_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-idadabhai-lexpact": {
      "env": {
        "LEXPACT_API_KEY": "your-lexpact-api-key-here"
      },
      "args": [
        "-y",
        "lexpact-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub 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

  1. Get an API key at lexpact.co.uk/dashboard/api-keys.
  2. Install dependencies:
    cd mcp-server
    npm install
    
  3. Add to your Claude Desktop config (claude_desktop_config.json — Settings → Developer → Edit Config):
    {
      "mcpServers": {
        "lexpact": {
          "command": "node",
          "args": ["/absolute/path/to/mcp-server/index.js"],
          "env": {
            "LEXPACT_API_KEY": "lp_live_your_key_here"
          }
        }
      }
    }
    
  4. Restart Claude Desktop. Ask it to draft a contract — it will call list_contract_templates and generate_contract as needed.

Environment variables

VarRequiredPurpose
LEXPACT_API_KEYYesYour LexPact API key.
LEXPACT_API_BASE_URLNoOverride the API base URL (defaults to https://lexpact.co.uk/api/v1) — useful for testing against a local dev server.

Manual test

LEXPACT_API_KEY=lp_live_... node index.js

Then connect any MCP client (e.g. the MCP Inspector: npx @modelcontextprotocol/inspector node index.js).

Reviews

No reviews yet

Be the first to review this server!