# Leaseclear MCP

> Leaseclear MCP is an open-source MCP server for property management. MCP server that answers questions about lease terms for AI clients, grounded in the lease. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Repository:** https://github.com/amadeuserras/leaseclear-mcp
- **MCP Registry name:** io.github.amadeuserras/leaseclear-mcp
- **Categories:** property management
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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

## 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.

---
Source: https://ai-powered.com/mcp/leaseclear-mcp
