lodestar-mcp-server

chasepkelly/lodestar-mcp-server

3.1

If you are the rightful owner of lodestar-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Lodestar MCP Server is a comprehensive solution for integrating with the Lodestar API to provide real estate services such as closing cost calculations and property tax information.

Tools
10
Resources
0
Prompts
0

Lodestar MCP Server

A comprehensive Model Context Protocol (MCP) server for integrating with the Lodestar API to provide closing cost calculations, property tax information, and related real estate services.

Architecture Overview

This MCP server provides tools for all major Lodestar API endpoints:

Core Features

  • Authentication Management: Secure login and session handling
  • Closing Cost Calculations: Complete title fees, premiums, and recording fees
  • Property Tax Services: Retrieval and calculation of property tax information
  • Endorsements Management: Available title policy endorsements
  • Sub-Agents Directory: Title agent and office information
  • Geographic Services: Counties, townships, and geocoding validation
  • Questions System: Dynamic question retrieval for accurate calculations
  • Appraisal Modifiers: Additional appraisal fee calculations

Supported Workflows

Mortgage Originator (Simplified)
  1. lodestar_login - Authenticate user
  2. lodestar_closing_cost_calculations - Get complete closing costs
  3. lodestar_property_tax - Get property tax information (if required)
Mortgage Originator (Full Control)
  1. lodestar_login - Authenticate user
  2. lodestar_sub_agents - Select title agent
  3. lodestar_endorsements - Choose policy endorsements
  4. lodestar_questions - Get calculation questions
  5. lodestar_closing_cost_calculations - Calculate with custom settings
  6. lodestar_property_tax - Get property tax information (if required)
Title Agent Workflows

Similar workflows with appropriate tool combinations for title agent use cases.

Installation

pip install -r requirements.txt

Configuration

Set environment variables:

export LODESTAR_CLIENT_NAME="your_client_name"
export LODESTAR_BASE_URL="https://www.lodestarss.com/Live/{Client_Name}/"

Usage

Run the MCP server:

python server.py

The server will provide all tools defined in the Lodestar API specification with proper parameter validation and error handling.

Tools Overview

ToolDescriptionRequired Auth
lodestar_loginAuthenticate with Lodestar APINo
lodestar_closing_cost_calculationsCalculate closing costs and feesYes
lodestar_property_taxGet property tax informationYes
lodestar_endorsementsGet available endorsementsYes
lodestar_sub_agentsGet available sub agentsYes
lodestar_countiesGet available countiesYes
lodestar_townshipsGet available townshipsYes
lodestar_questionsGet calculation questionsYes
lodestar_geocode_checkValidate address and townshipYes
lodestar_appraisal_modifiersGet appraisal modifiersYes

Error Handling

The server implements comprehensive error handling for:

  • Authentication failures (401)
  • Invalid requests (400)
  • Network connectivity issues
  • Session timeout management
  • Parameter validation

Security

  • Session tokens are managed securely
  • Credentials are not logged
  • HTTPS-only communication with Lodestar API
  • Input validation for all parameters