chasepkelly/lodestar-mcp-server
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.
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)
lodestar_login- Authenticate userlodestar_closing_cost_calculations- Get complete closing costslodestar_property_tax- Get property tax information (if required)
Mortgage Originator (Full Control)
lodestar_login- Authenticate userlodestar_sub_agents- Select title agentlodestar_endorsements- Choose policy endorsementslodestar_questions- Get calculation questionslodestar_closing_cost_calculations- Calculate with custom settingslodestar_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
| Tool | Description | Required Auth |
|---|---|---|
lodestar_login | Authenticate with Lodestar API | No |
lodestar_closing_cost_calculations | Calculate closing costs and fees | Yes |
lodestar_property_tax | Get property tax information | Yes |
lodestar_endorsements | Get available endorsements | Yes |
lodestar_sub_agents | Get available sub agents | Yes |
lodestar_counties | Get available counties | Yes |
lodestar_townships | Get available townships | Yes |
lodestar_questions | Get calculation questions | Yes |
lodestar_geocode_check | Validate address and township | Yes |
lodestar_appraisal_modifiers | Get appraisal modifiers | Yes |
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