Cal MCP Server

Cal MCP Server

Enables AI assistants to answer mortgage-related queries by providing tools for lender search, loan limit lookup, down-payment assistance programs, and more, with data sourced from real wholesale lenders and broker-curated intel.

Category
访问服务器

README

Cal MCP Server

The mortgage MCP server, with a real lender data moat. 166+ wholesale lenders · 1,400+ indexed program documents · 250+ down‑payment‑assistance programs · 50 states. First Model Context Protocol server in the mortgage industry with broker‑accessible matrix data behind it — not a calculator, not a rate scraper.

@homeloanexpress/cal-mcp-server exposes Cal — the AI mortgage platform from HomeLoanExpress — to any Model Context Protocol client: Claude Desktop, Cursor, Continue, Goose, Zed, Cody, your own agent. Loan officers, brokers, real‑estate agents, and consumer borrowers can ask their AI assistant questions like:

  • "What's the 2026 conforming loan limit in Alameda County, CA, for a 1‑unit?"
  • "Top 5 wholesale jumbo lenders in California for a 712‑FICO, 80% LTV, $1.4M loan with a departing residence still listed."
  • "What DPA programs in Orange County California work for a first‑time buyer with 700 FICO?"
  • "Plaza Home Mortgage — what's their current master credit guideline document, and which AE covers Northern California?"
  • "Show me the structuring playbook for a sub‑580 FHA file."

…and Cal returns answers grounded in current matrix PDFs, FHFA / HUD / VA source documents, and tribal‑knowledge intel curated by working brokers.

Why this matters

The mortgage industry has spent a decade in the "everybody buys Encompass" era. AI hasn't touched the workflow because the source data is gated, fragmented, and expires. Cal's library — built from broker‑portal scrapes, indexed weekly, kept current — is the data layer that makes any mortgage AI actually useful. This MCP server is how that data reaches every agent platform built on top of MCP.

If you're an LO, this means asking Claude (or Cursor, or your own agent) the same questions you used to dig through PDFs to answer — and getting an answer in seconds with a source citation.

Tools

The server exposes seven tools:

Name Purpose
cal_fact_lookup FHFA conforming loan limits, FHA loan limits, VA funding fee, FHA MIP, agency DTI caps. County‑level. 50 states + DC.
cal_search_lenders Scenario‑aware wholesale‑lender finder. Pass FICO / LTV / loan amount / state / occupancy → ranked top 5 (or top 15 with expand=true) with score, qualifying reasons, blockers.
cal_lender_details Full record for one lender — programs, state licenses, AE contact, broker portal URL, status, recent matrix dates.
cal_lender_documents List indexed matrices / handbooks / overlays for a lender. Sorted master → current → superseded. Each doc includes a short extracted summary.
cal_dpa_search Down‑payment‑assistance programs by state / county / city / FTHB / type. Up to 25 ranked programs with provider URLs.
cal_lender_intel Tribal‑knowledge intel — strengths, watch‑outs, speed notes, scenarios they love, scenarios to avoid, AE contacts. Pass intent to narrow.
cal_scenario_pattern Structuring playbooks for hard scenarios: departing residence, ITIN / foreign national, sub‑580 FHA, renovation, super‑jumbo, plus the matrix‑freshness citation rule.

The tool surface mirrors Cal's internal tool‑use schema, so any model (Claude Sonnet, Opus, Haiku, GPT‑4o, Gemini, …) that calls them gets the same shape Cal itself uses.

Install

Claude Desktop (macOS / Windows)

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "cal": {
      "command": "npx",
      "args": ["-y", "@homeloanexpress/cal-mcp-server"],
      "env": {
        "CAL_API_TOKEN": "your-token-here"
      }
    }
  }
}

Restart Claude Desktop. The cal tools appear in the slash menu.

Cursor

Settings → MCP → Add Server, then paste the same JSON.

Continue / VS Code

~/.continue/config.jsonmcpServers block, same shape.

Local dev (clone + link)

git clone https://github.com/homeloanexpress/cal-mcp-server.git
cd cal-mcp-server
npm install
npm run build
# Then point your MCP client at dist/index.js with `node` as the command
# and an absolute path in args[0].

Getting a token

CAL_API_TOKEN is an opaque bearer token. Use a long‑lived API key, not a session token — session tokens from /auth/login expire after 8 hours, which means an MCP client config that worked today returns 401 tomorrow.

Recommended — long‑lived API key (cal_live_…)

Sign up at vault.homeloanexpress.ai (request access if you don't have a key yet — broker LOs are auto‑approved). Then:

# 1. Get a short‑lived session token from /auth/login
SESSION=$(curl -s -X POST https://vault.homeloanexpress.ai/auth/login \
  -H "Content-Type: application/json" \
  -H "Origin: https://homeloanexpress.ai" \
  -d '{"email":"<your-email>","password":"<your-password>","portal":"team"}' \
  | sed -n 's/.*"token":"\([^"]*\)".*/\1/p')

# 2. Mint a long‑lived API key
curl -X POST https://vault.homeloanexpress.ai/auth/api-keys \
  -H "Content-Type: application/json" \
  -H "Origin: https://homeloanexpress.ai" \
  -H "Authorization: Bearer $SESSION" \
  -d '{"label":"my-claude-desktop"}'

The response includes a key field starting with cal_live_. Copy it now — it's only shown once. Use it as CAL_API_TOKEN. The key has no expiry; revoke it any time with DELETE /auth/api-keys/<id> (list yours with GET /auth/api-keys).

Fallback — session token

If you just want to try a tool call quickly, the session token from /auth/login works too (8‑hour TTL). Don't put one in a long‑lived MCP config.

v0.2 preview

OAuth 2.1 with PKCE is on the v0.2 roadmap so MCP clients can run the consent flow themselves. Until then, the API key flow above is the recommended path.

Verify it works

After installing, ask your MCP client:

"What's the 2026 conforming loan limit in Alameda County CA?"

You should get back something like:

$1,229,100 (FHFA 2026 Conforming Loan Limits, announced 2025‑11‑26).
High‑balance HCOL county. Anything above this is a jumbo loan.

If you don't, check:

  1. The token isn't expired — Cal session tokens last 24 hours by default. Refresh via /auth/login.
  2. Network can reach https://vault.homeloanexpress.ai.
  3. Your MCP client picked up the config — restart it after editing.

Configuration

Env var Required Default Notes
CAL_API_TOKEN yes Bearer token from /auth/login.
CAL_API_BASE_URL no https://vault.homeloanexpress.ai Override only if you're testing against a Cal instance other than production.

Data scope

Calls are scoped to the list tied to your token. If you're a broker LO with a curated approved‑lender list, results are filtered to lenders you can actually use. Cal will not leak across approved lists. The chris-hle demo list (the founder's list) is the broadest at 166 lenders.

License

MIT. The wrapper code is open. Cal's curated lender library, DPA program data, and lender intel are proprietary and remain behind the API.

About Cal

Cal is the AI mortgage platform from HomeLoanExpress, built by a 17‑year industry veteran (NMLS 275073) for working brokers. Production state at this release:

  • 166 wholesale lenders, 1,424 indexed program documents, 250 DPA programs, 50 states
  • 4 LOs in pilot, 342 questions answered in the first 24 hours of soft‑launch
  • $500K committed + $1.5M soft‑committed → $2M seed target

Investor preview at vault.homeloanexpress.ai/pitch.html.

Roadmap

  • v0.1 (current) — 7 tools, API‑key auth, stdio transport, npm + GitHub.
  • v0.2 — OAuth 2.1 with PKCE. .dxt Claude Desktop bundle. Optimal Blue MCP companion server.
  • v0.3 — Streamable HTTP transport. Public agency MCPs (Fannie Selling Guide, Freddie Guide, FHA Handbook 4000.1, VA Handbook 26‑7, FHFA limits, HUD AMI) under the same org as open‑source siblings.
  • v0.4 — Encompass MCP companion (LOS read/write). DocuSign MCP companion. The investor‑deck card 8 vision: one prompt fires across CRM + email + calendar + pricing + library.

Contributing

Issues and PRs welcome. The roadmap above is the priority order; if you want to take a piece, open an issue first so we don't dual‑track.

Contact

Chris Black · NMLS 275073 · chris@homeloanexpress.ai · 925‑286‑7681

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选