Skip to main content
ClaudeWave

An MCP server that exposes LeaseClear

MCP ServersOfficial Registry0 stars0 forksPythonMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 8/21/2026
Install in Claude Code / Claude Desktop
Method: UVX (Python) · leaseclear-mcp
Claude Code CLI
claude mcp add leaseclear-mcp -- uvx leaseclear-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "leaseclear-mcp": {
      "command": "uvx",
      "args": ["leaseclear-mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# leaseclear-mcp

A [Model Context Protocol](https://modelcontextprotocol.io) server that exposes [LeaseClear](https://github.com/amadeuserras/leaseclear) lease Q&A.

<!-- mcp-name: io.github.amadeuserras/leaseclear-mcp -->

Listed in the [official MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.amadeuserras/leaseclear-mcp`.

## Tools

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

## Usage

Add this to your MCP client config (e.g. `claude_desktop_config.json` or Cursor `mcp.json`):

```json
{
  "mcpServers": {
    "lease-qa": {
      "command": "uvx",
      "args": ["leaseclear-mcp"]
    }
  }
}
```

The package is on [PyPI](https://pypi.org/project/leaseclear-mcp/). `uvx` fetches and runs it as a local subprocess, communicating over stdio. [uv](https://docs.astral.sh/uv/getting-started/installation/) required.

### Optional environment variables


| Variable             | Description                                            | Default                       |
| -------------------- | ------------------------------------------------------ | ----------------------------- |
| `LEASECLEAR_API_KEY` | Use the server with your own LeaseClear account        | LeaseClear demo mode          |
| `LEASECLEAR_API_URL` | Override the API endpoint (local or private instances) | LeaseClear production backend |


```json
{
  "mcpServers": {
    "lease-qa": {
      "command": "uvx",
      "args": ["leaseclear-mcp"],
      "env": {
        "LEASECLEAR_API_KEY": "lc_...",
        "LEASECLEAR_API_URL": "https://..."
      }
    }
  }
}
```



## `lease_qa` usage

**Argument**

- `question` (string, required) — one question about the lease

`_meta`

- `document_ids` (string[], optional) — UUIDs of the documents to query. Omitted means all.

**Security**: The `_meta` field is used to pass metadata to the tool call that the model doesn't see. Having `document_ids` there is intentional: it prevents cross-document prompt injection because the model is never able to choose which documents it has access to. See a real-world example in [LeaseOps: prompt injection and the tenants table](https://github.com/amadeuserras/leaseops#security-prompt-injection-and-the-tenants-table).

## MCP Python SDK example

Tool call:

```python
result = await session.call_tool(
    name="lease_qa",
    arguments={
        "question": "How much is the security deposit for Yuna Kim?"
    },
    meta={
        "document_ids": [
            "a1b2c3d4-e5f..."
        ]
    }
)
```

Output:

```json
{
  "answer": "The security deposit is $6,400.00. This deposit is held in Owner's Broker's trust account [california-johnson-kim §4]."
}
```



## Project structure

```
leaseclear-mcp/
├── src/leaseclear_mcp/
│   ├── server.py        # MCP server + lease_qa
│   ├── leaseclear.py    # LeaseClear HTTP client
│   ├── schemas.py
│   └── config.py
├── tests/
├── pyproject.toml
├── .env.example
└── README.md
```



## Local Development

```bash
git clone https://github.com/you/leaseclear-mcp.git
cd leaseclear-mcp
uv sync
cp .env.example .env
uv run pytest
uv run ruff check .
uv run pyright
```



### Debugging

Use the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) to test the server interactively:

```bash
npx @modelcontextprotocol/inspector uvx leaseclear-mcp
```

From a checkout, use `uv run leaseclear-mcp` instead of `uvx leaseclear-mcp`.

## License

MIT
document-aifastapilease-aimcpmcp-registrymcp-servermodel-context-protocolpgvectorpythonrag

What people ask about leaseclear-mcp

What is amadeuserras/leaseclear-mcp?

+

amadeuserras/leaseclear-mcp is mcp servers for the Claude AI ecosystem. An MCP server that exposes LeaseClear It has 0 GitHub stars and its last recorded update is dated 2026-08-20.

How do I install leaseclear-mcp?

+

You can install leaseclear-mcp by cloning the repository (https://github.com/amadeuserras/leaseclear-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is amadeuserras/leaseclear-mcp safe to use?

+

Our security agent has analyzed amadeuserras/leaseclear-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains amadeuserras/leaseclear-mcp?

+

amadeuserras/leaseclear-mcp is maintained by amadeuserras. The last recorded GitHub activity is dated 2026-08-20, with 0 open issues.

Are there alternatives to leaseclear-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy leaseclear-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: amadeuserras/leaseclear-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/amadeuserras-leaseclear-mcp)](https://claudewave.com/repo/amadeuserras-leaseclear-mcp)
<a href="https://claudewave.com/repo/amadeuserras-leaseclear-mcp"><img src="https://claudewave.com/api/badge/amadeuserras-leaseclear-mcp" alt="Featured on ClaudeWave: amadeuserras/leaseclear-mcp" width="320" height="64" /></a>

More MCP Servers

leaseclear-mcp alternatives