MCP server exposing mortgage document analysis tools, resources, and prompts

MCP server exposing mortgage document analysis tools, resources, and prompts

mcp-mortgage-server•byconfersolutions

An MCP server built with the official MCP SDK that defines tools for parsing and comparing mortgage documents, along with MISMO schema resources and an analysis prompt; as of v2.0.0 the tools ship with stub data.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides four MCP tools named hello, parse_loan_estimate, parse_closing_disclosure, and compare_le_cd.
  • •The parsing and TRID comparison tools are intended to produce MISMO-compliant JSON and compliance results, but v2.0.0 ships basic tool definitions with stub data.
  • •Real PDF parsing is listed as a v2.1.0 roadmap item rather than a current capability.
  • •Offers read-only MCP resources for MISMO 3.4 LE and CD schemas and a mortgage glossary, plus an analyze_loan_estimate prompt.

BEST FOR

  • •Connecting an MCP-capable AI assistant to mortgage-document workflow tools via stdio.
  • •Exposing MISMO schemas and mortgage terminology to AI clients as resources.

ABOUT MCP-MORTGAGE-SERVER

MCP server exposing mortgage document analysis tools, resources, and prompts is cataloged as an MCP server attributed to confersolutions. An MCP server built with the official MCP SDK that defines tools for parsing and comparing mortgage documents, along with MISMO schema resources and an analysis prompt; as of v2.0.0 the tools ship with stub data. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server exposing mortgage document analysis tools, resources, and prompts are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do the mortgage tools currently return real parsed data?

No; the v2.0.0 notes say the tools have basic definitions with stub data, and real PDF parsing is planned for v2.1.0.

What protocol transport does the server use?

It uses MCP JSON-RPC 2.0 over stdio with the official MCP SDK, replacing the earlier FastAPI/HTTP REST API.

Upstream README

View this exact version on GitHub

README.md · f53caa219232 · Fetched 2026-11-13 12:35:43 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Mortgage Server

A Model Context Protocol (MCP) server for parsing and analyzing mortgage documents (Loan Estimates & Closing Disclosures) using MISMO standards.

Version License: MIT MCP Protocol Website


🎯 What is This?

This is a Model Context Protocol (MCP) server that allows AI assistants (like Claude Desktop, OpenAI Agents, etc.) to parse and analyze mortgage documents. It converts Loan Estimates (LE) and Closing Disclosures (CD) into structured MISMO-compliant JSON, and checks for TRID compliance violations.

Key Features

✅ MCP-Compliant - Works natively with Claude Desktop, OpenAI Agents SDK, and other MCP clients ✅ Secure - URL validation, SSRF prevention, file size limits, timeout protection ✅ Type-Safe - Pydantic models ensure data validation ✅ TRID Compliance - Automated tolerance checking (zero-tolerance, 10% tolerance) ✅ Resources - Access to MISMO schemas and mortgage glossary ✅ Prompts - Pre-built workflows for loan analysis


🚀 Quick Start

Prerequisites

  • Python 3.10 or higher
  • Claude Desktop (recommended) or another MCP-compatible client

Installation

  1. Clone the repository:

    git clone https://github.com/confersolutions/mcp-mortgage-server.git
    cd mcp-mortgage-server
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Test the server:

    python test_server.py
    

    You should see:

    ✓ All tests passed!
    Server is ready for MCP client connections!
    

Usage with Claude Desktop

  1. Locate your Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add this server:

    {
      "mcpServers": {
        "mortgage": {
          "command": "python",
          "args": ["/full/path/to/mcp-mortgage-server/server.py"]
        }
      }
    }
    
  3. Restart Claude Desktop

  4. Use it in Claude:

    Can you parse this loan estimate and summarize the key terms?
    URL: https://storage.googleapis.com/mortgage-docs/sample-le.pdf
    

    Claude will automatically call the appropriate MCP tool and parse the document.


🛠️ Available Tools

1. hello

Simple connectivity test.

Input: { "name": "World" }
Output: "Hello, World! MCP server is working correctly."

2. parse_loan_estimate

Parse a Loan Estimate PDF into MISMO-compliant JSON.

Input:

{
  "pdf_url": "https://storage.googleapis.com/mortgage-docs/le-12345.pdf"
}

Output:

{
  "loan_amount": 300000.0,
  "interest_rate": 6.5,
  "apr": 6.73,
  "monthly_payment": 1896.20,
  "total_closing_costs": 12000.00,
  "origination_charges": 1500.00,
  ...
}

Security: Only HTTPS URLs from whitelisted domains. 10MB size limit, 30s timeout.

3. parse_closing_disclosure

Parse a Closing Disclosure PDF into MISMO-compliant JSON.

Similar to parse_loan_estimate but for final closing documents.

4. compare_le_cd

Compare Loan Estimate vs Closing Disclosure for TRID compliance.

Input:

{
  "loan_estimate_url": "https://storage.googleapis.com/docs/le.pdf",
  "closing_disclosure_url": "https://storage.googleapis.com/docs/cd.pdf"
}

Output:

{
  "is_compliant": false,
  "violations": [
    {
      "type": "zero_tolerance",
      "fee": "Origination Charges",
      "le_amount": 1500.00,
      "cd_amount": 1600.00,
      "amount_over": 100.00,
      "description": "Origination Charges increased by $100.00"
    }
  ],
  "summary": "✗ NOT COMPLIANT: 1 violation(s) found"
}

📚 Resources

The server provides read-only resources:

  • mortgage://schemas/mismo-le - MISMO 3.4 Loan Estimate schema
  • mortgage://schemas/mismo-cd - MISMO 3.4 Closing Disclosure schema
  • mortgage://glossary/terms - Mortgage terminology definitions

💡 Prompts

Pre-built workflows:

analyze_loan_estimate

Arguments: { "analysis_type": "comprehensive" }

Types: quick, comprehensive, compliance


🔒 Security

Built-in Protections

  • ✅ HTTPS only - HTTP URLs are rejected
  • ✅ Domain whitelist - Only approved storage domains (prevents SSRF attacks)
  • ✅ File size limits - 10MB maximum
  • ✅ Timeout protection - 30-second download timeout
  • ✅ PDF validation - Checks magic bytes
  • ✅ Type safety - All inputs/outputs validated with Pydantic

Allowed Domains

By default:

  • storage.googleapis.com
  • s3.amazonaws.com
  • mortgage-docs.confer.ai

To add more, set ALLOWED_DOMAINS environment variable.


🧪 Development

Run Tests

# Quick test suite
python test_server.py

# Full pytest suite
pytest tests/ -v

Test with MCP Inspector

npm install -g @modelcontextprotocol/inspector
npx @modelcontextprotocol/inspector python server.py

📈 Roadmap

✅ v2.0.0 (Current)

  • Modern MCP protocol implementation
  • Basic tool definitions with stub data
  • Security controls
  • Resources and prompts
  • Type-safe data models

🚧 v2.1.0 (In Progress)

  • Real PDF parsing (AI-powered or PyMuPDF)
  • Comprehensive test suite
  • Performance optimizations

🔮 v2.2.0 (Planned)

  • Streaming support
  • Progress notifications
  • Background task queue
  • Additional mortgage analysis tools

🔄 Migrating from v0.1.0

If upgrading from the old REST API version:

Key Changes:

  • ❌ Removed FastAPI/HTTP REST API
  • ✅ Added MCP protocol (JSON-RPC 2.0 via stdio)
  • ✅ Removed API key authentication
  • ✅ Added type-safe tool definitions
  • ✅ Added resources and prompts

📖 Documentation


🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.


📄 License

MIT License - see LICENSE file for details.


🏢 About

Maintained by Confer Solutions

Contact: info@confersolutions.ai


⭐ Changelog

v2.0.0 (2025-11-16) - Modern MCP Protocol

Major Rewrite: Complete architectural modernization to MCP specification 2025-03-26.

Added:

  • MCP protocol support (JSON-RPC 2.0 via stdio)
  • Four tools: hello, parse_loan_estimate, parse_closing_disclosure, compare_le_cd
  • Resources: MISMO schemas, mortgage glossary
  • Prompts: analyze_loan_estimate
  • Security: URL validation, SSRF prevention, size limits
  • Type safety: Pydantic models

Removed:

  • FastAPI/HTTP REST API
  • API key authentication
  • Rate limiting
  • Static JSON configuration

Changed:

  • Server: FastAPI → Official MCP SDK
  • Transport: HTTP → stdio
  • Dependencies: 15+ → 6 core packages

v0.1.0 (2024-04-12) - Initial Release

Deprecated: REST API version. Use v2.0.0+.


Status: ✅ Active Development | 🏗️ Beta | 📦 Production-Ready Core

Last Updated: November 16, 2025

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server exposing mortgage document analysis tools, resources, and prompts from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-mortgage-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools