underwriting-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@underwriting-mcpUnderwrite 123 Main St, 12-unit multifamily"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Underwriting MCP Server
A headless Model Context Protocol connector that lets you underwrite commercial and multifamily deals inside a Claude chat. Claude runs the conversation; this server does the arithmetic that must be exact (NOI, valuation, debt sizing, DSCR, returns) and serves your firm's underwriting methodology so every conversation underwrites the same way.
There is no web UI. The interface is Claude with this connector attached.
This server does deterministic math + methodology only. It does not open, fill, or recalculate
Commercial_Template.xlsx— that's the Skills pipeline's job in code-execution. The two share the same underwriting constants so they never disagree.
Stack
Next.js (App Router) +
mcp-handler— wraps the route as an MCP endpoint over stateless Streamable HTTP (no SSE, no Redis; free-tier friendly).TypeScript + Zod for tool input contracts.
Deploy target: Vercel (Hobby/free tier).
Related MCP server: NDI-MCP-Server
What it exposes
Tools (lib/calc/)
Group | Tools |
Common (§4.1) |
|
Commercial (§4.2) |
|
Multifamily (§4.3) |
|
Resources (lib/methodology/)
underwriting-conventions, scenario-definitions, commercial-field-map, multifamily-field-map,
template-version — served over underwriting://… URIs.
Prompts (lib/prompts/)
underwrite_retail_commercial, underwrite_multifamily — guided openers that collect the right
inputs, call the tools in order, and present the four-scenario grid.
Conventions (enforced)
Four scenarios always: List / Target / Probable / Conservative. Per-scenario levers are cap rate, LTV, exit cap rate; everything else is shared.
Rates are fractions —
0.055= 5.5%. The server rejects rate-like inputs> 1.0to catch the classic5-vs-0.05bug.Stabilization year selector (2/3/4, default 4); any stabilized result states which year it used.
Every denominator (cap rate, equity, loan, GPR) is guarded — clear error instead of
Infinity/NaN.Multifamily defaults (overridable): mgmt fee 3% of EGI, replacement reserves $250/unit/yr, rent trend 3%/yr.
Develop
npm install
npm test # hand-checked deal per asset class (node:test via tsx)
npm run typecheck # tsc --noEmit
npm run dev # http://localhost:3000/api/mcpDeploy (free tier)
npm test— confirm every formula matches its hand-checked deal.Push to GitHub.
Vercel → New Project → import repo → Deploy (Node auto-detected).
Your endpoint is
https://<project>.vercel.app/api/mcp.(Optional) set
MCP_API_KEYin Vercel env to requireAuthorization: Bearer <key>.
Add the connector in Claude
Requires a Pro, Max, Team, or Enterprise plan (custom connectors over remote MCP).
Settings → Connectors → Add custom connector.
Paste the
…/api/mcpURL; complete auth if you set a key.Start a chat, confirm the tools/prompts appear, run the two walkthroughs.
Layout
app/api/mcp/route.ts # mcp-handler entry: registers tools, resources, prompts + shared-key auth
lib/calc/finance.ts # §5 primitives (debt, DSCR, value, exit)
lib/calc/common.ts # §4.1 common tools incl. run_scenarios
lib/calc/commercial.ts # §4.2 retail/office/net-lease
lib/calc/multifamily.ts# §4.3 multifamily
lib/validate.ts # fraction-vs-percent + zero-denominator guards
lib/methodology/ # §6 resources (source of truth, one file each)
lib/prompts/ # §7 guided flows
test/ # one hand-checked deal per asset classRoadmap
Phase 4 — hardening: OAuth via
withMcpAuth, rate limiting, multi-year levered cash flow / IRR (ARGUS-style) if desired.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaredmaxey-hue/underwriting-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server