npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

deallens-mcp

v1.0.0

Published

Real estate deal analysis MCP server for Claude Desktop

Downloads

44

Readme

DealLens MCP

Real estate investment deal analysis for Claude Desktop and MCP-compatible AI clients. Analyze rentals, compare deals, stress-test scenarios, and evaluate BRRRR/flip strategies — all using free government data.

Quick Start

1. Get Free API Keys (5 minutes)

  • HUD API Token: https://www.huduser.gov/portal/dataset/fmr-api.html
  • FRED API Key: https://fred.stlouisfed.org/docs/api/api_key.html
  • Census API Key: https://api.census.gov/data/key_signup.html

2. Install

npm install -g deallens-mcp

3. Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "deallens": {
      "command": "npx",
      "args": ["deallens-mcp"],
      "env": {
        "HUD_API_TOKEN": "your-hud-token",
        "FRED_API_KEY": "your-fred-key",
        "CENSUS_API_KEY": "your-census-key"
      }
    }
  }
}

Restart Claude Desktop. You should see DealLens tools available.

Tools

analyze_rental_deal

Full investment analysis: mortgage, expenses, cash flow, cap rate, cash-on-cash, DSCR, 1% rule, and a verdict.

"Analyze this rental: $285K, 3bed/2bath in ZIP 77019, expected rent $2,100/month. I'm putting 20% down."

get_area_rents

HUD Fair Market Rents for any US ZIP code.

"What are the fair market rents in ZIP 30301?"

get_mortgage_rates

Current 30-year and 15-year fixed rates from the Federal Reserve.

"What are current mortgage rates?"

compare_deals

Side-by-side comparison of 2-5 properties, ranked by cash-on-cash return.

"Compare: Property A $200K rent $1,500 in 30301 vs Property B $350K rent $2,800 in 77019. Both 20% down."

sensitivity_analysis

Stress-test a deal: what if rates go up? What if vacancy hits 10%?

"What happens to that deal if interest rates go from 6% to 8%?"

estimate_expenses

Estimate monthly operating expenses using industry-standard ratios.

"Estimate expenses for a $2,000/month rental, SFH built in 1985."

brrrr_analysis

Buy-Rehab-Rent-Refinance-Repeat strategy calculator.

"BRRRR analysis: $150K purchase, $40K rehab, ARV $250K, expected rent $1,800/month in ZIP 77019."

flip_analysis

Fix-and-flip profitability analysis.

"Flip analysis: buying at $120K, $30K rehab, ARV $200K, 4 month hold, hard money financing."

Data Sources

All data comes from free US government APIs:

| Source | What It Provides | |--------|-----------------| | HUD User | Fair Market Rents by ZIP code | | FRED (Federal Reserve) | Current mortgage rates | | Census Bureau | Median home values, income, rent by area | | BLS | Employment data (v2) |

Development

git clone https://github.com/yourusername/deallens-mcp.git
cd deallens-mcp
npm install
npm run build
npm test

Testing with MCP Inspector

npx @modelcontextprotocol/inspector build/index.js

License

MIT