Skip to content
All Skills

Lease Agreement Analyzer

Reviews residential or commercial leases, identifies tenant-unfriendly clauses, compares terms against local tenant rights research via Brave Search, and generates a negotiation checklist. Prerequisites: brave-search MCP, python3.

Legal & Contracts|v1|Updated 5/19/2026
MCP get_skill({ skillId: "lease-agreement-analyzer-205a6302" })

Use this skill with your agent

Create a free account and connect via MCP

Get Started Free
# Lease Agreement Analyzer

Review a residential or commercial lease, flag problematic clauses, and compare terms against local tenant rights.

## When to Use

- "Review my apartment lease before I sign"
- "Is this rent increase legal in {state}?"
- "What should I negotiate in this commercial lease?"

## Requirements

- **Brave Search MCP** for local tenant rights research
- **python3** for financial calculations

## Workflow

### Step 1 — Lease Details

- **Lease type** (residential, commercial)
- **Location** (state/city — for tenant rights)
- **Lease text** (paste or key sections)
- **Specific concerns**

### Step 2 — Research Local Laws

```
brave_web_search: "{STATE} tenant rights {RESIDENTIAL/COMMERCIAL} {YEAR}"
brave_web_search: "{STATE} rental law landlord obligations {YEAR}"
brave_web_search: "{CITY} rent control laws {YEAR}"
brave_web_search: "{STATE} security deposit law maximum limit"
```

### Step 3 — Analyze Key Terms

```markdown
# Lease Analysis: {ADDRESS}
šŸ“ {CITY}, {STATE} | Type: {Residential/Commercial}

## Key Terms Summary
| Term | Details | Assessment |
|------|---------|------------|
| Rent | ${X}/month | {Market comparison} |
| Term | {N} months | {Standard/unusual} |
| Security deposit | ${X} | {Within legal limit?} |
| Rent increase | {Terms} | {Legal in {STATE}?} |
| Utilities | {Included/not} | {Normal for area} |
| Pets | {Policy} | {Deposit amount?} |
| Subletting | {Allowed/not} | {Restrictions?} |
| Maintenance | {Responsibility} | {Typical?} |
| Early termination | {Terms} | {Penalty amount?} |

## šŸ”“ Concerns
| # | Clause | Issue | Your Right |
|---|--------|-------|------------|
| 1 | {Clause} | {Why it's problematic} | {What local law says} |

## 🟔 Negotiate These
- {Clause}: Ask for {specific change}
- {Clause}: Request {specific change}

## 🟢 Standard Clauses
- {Clause}: Typical for {STATE} āœ…
```

### Step 4 — Cost Analysis

```bash
python3 << 'PYEOF'
rent = {MONTHLY_RENT}
deposit = {SECURITY_DEPOSIT}
term_months = {LEASE_TERM}

move_in = deposit + rent  # first month + deposit
total_commitment = rent * term_months
early_term_penalty = {PENALTY}

print(f"Move-in cost: ${move_in:,.0f}")
print(f"Total commitment ({term_months} months): ${total_commitment:,.0f}")
print(f"Early termination cost: ${early_term_penalty:,.0f}")
print(f"Effective monthly (incl. deposit amortized): ${(total_commitment + deposit) / term_months:,.0f}")
PYEOF
```

### Step 5 — Save Analysis

```bash
mkdir -p outputs/legal
cat > "outputs/legal/lease-analysis-{ADDRESS_SLUG}-{DATE}.md" << 'EOF'
{ANALYSIS}
EOF
```

## Important Rules

- ALWAYS disclaim: "not legal advice — consult a tenant rights attorney"
- Tenant rights vary dramatically by state/city — always research local laws
- Flag illegal clauses (e.g., waiving habitability rights) clearly
- Compare deposit to state maximum where applicable
- Be factual about what the lease says vs. what the law requires

## Example Prompts

- "Review my NYC apartment lease — is the broker fee clause legal?"
- "Analyze this commercial lease for a small retail space"
- "My landlord wants to raise rent 20% — is this allowed in California?"
#legal#lease#rental#brave-searchbrave-searchpython3