Skip to content
MCP server

Leaseclear MCP

MCP server that answers questions about lease terms for AI clients, grounded in the lease

Runs locally
Install
Pricing
Open source
Platforms
CLI, API, self-hosted
Runs
Locally
Version
0.1.3
Listing updated
today

About Leaseclear MCP

Leaseclear MCP is an open-source MCP server for property management. It runs locally on your machine and is started by your AI client.

The README describes leaseclear-mcp as a bridge between AI clients and LeaseClear's lease question-answering service. It runs as a local Python process that talks to the LeaseClear API over stdio, so an assistant such as Claude Desktop or Cursor can ask one lease question at a time and receive a reply.

Each call to the lease_qa tool takes a single question. Answers are described as grounded in the lease itself, and when the lease says nothing on the topic the tool reports that instead of guessing. Document scope is passed through the MCP _meta field rather than the model's arguments, so the model cannot pick which documents it reads. The README gives a sample answer that cites a specific lease section.

Without an API key the server uses LeaseClear's demo mode. Supplying LEASECLEAR_API_KEY connects it to a LeaseClear account, and LEASECLEAR_API_URL can point it at a local or private instance. It is aimed at people who already work with LeaseClear and want lease answers inside their AI assistant.

Install

Run in a terminal

claude mcp add leaseclear-mcp --env LEASECLEAR_API_KEY='<LEASECLEAR_API_KEY>' -- uvx leaseclear-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "leaseclear-mcp": {
      "command": "uvx",
      "args": [
        "leaseclear-mcp"
      ],
      "env": {
        "LEASECLEAR_API_KEY": "<LEASECLEAR_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "leaseclear-mcp": {
      "command": "uvx",
      "args": [
        "leaseclear-mcp"
      ],
      "env": {
        "LEASECLEAR_API_KEY": "<LEASECLEAR_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "leaseclear-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "leaseclear-mcp"
      ],
      "env": {
        "LEASECLEAR_API_KEY": "<LEASECLEAR_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "leaseclear-mcp": {
      "command": "uvx",
      "args": [
        "leaseclear-mcp"
      ],
      "env": {
        "LEASECLEAR_API_KEY": "<LEASECLEAR_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "leaseclear-mcp": {
      "command": "uvx",
      "args": [
        "leaseclear-mcp"
      ],
      "env": {
        "LEASECLEAR_API_KEY": "<LEASECLEAR_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • LEASECLEAR_API_KEYYour LeaseClear API key. Omit for demo mode.
  • LEASECLEAR_API_URLOverride the LeaseClear API URL.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

lease_qa
Ask one question about lease terms; returns an answer grounded in the lease, or states that the lease is silent.

What it does

Single-question lease Q&A
The lease_qa tool accepts one natural-language question about lease terms per call.
Grounded or silent answers
According to the README, the tool answers from the lease text or says the lease does not address the question.
Document scoping via metadata
Document UUIDs are passed in the MCP _meta field so the model cannot choose which documents it queries.
Demo mode by default
Runs against LeaseClear's demo mode when no API key is set.
Configurable API endpoint
LEASECLEAR_API_URL lets the server target local or private LeaseClear deployments.
Standard MCP client setup
Installs from PyPI and runs via uvx over stdio in clients such as Claude Desktop and Cursor.

Good for

  • Asking an AI assistant for a security deposit amount from a specific lease
  • Checking what a lease says about a particular clause without reading the full document
  • Querying LeaseClear documents from an MCP-enabled editor or chat client
  • Testing lease Q&A behaviour against a private LeaseClear instance

Pricing

Open source

Free open-source MCP server; calls go to the LeaseClear API

Leaseclear MCP FAQ

Do I need a LeaseClear account to try it?

No. The README says the server runs in LeaseClear demo mode when LEASECLEAR_API_KEY is omitted. Using your own account requires setting that variable.

How is the server run?

The README says uvx fetches and runs the PyPI package as a local subprocess communicating over stdio, and that uv must be installed.

Which tools does it expose?

The README lists one tool, lease_qa, which answers a single question about lease terms.

What license is it under?

The README states the project is licensed under MIT.

Is Leaseclear MCP free?

Yes. Leaseclear MCP is open source, so you can use and self-host it for free.

How do I add Leaseclear MCP to Claude Code?

Run this command in your terminal: claude mcp add leaseclear-mcp --env LEASECLEAR_API_KEY='<LEASECLEAR_API_KEY>' -- uvx leaseclear-mcp

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers