Insurance Demo
FreeNot checkedProvides an AI-powered insurance assistant with tools for customer, policy, claim, premium, fraud detection, and policy renewal operations.
About
Provides an AI-powered insurance assistant with tools for customer, policy, claim, premium, fraud detection, and policy renewal operations.
README
A demonstration project that showcases how to build an AI-powered insurance assistant using the Model Context Protocol (MCP). The client uses an LLM (Qwen running locally through Ollama) to determine which MCP tools to call, executes those tools, and then generates a natural language response.
Features
- 🚀 MCP server built with FastMCP
- 💻 MCP client using stdio transport
- 🔍 Dynamic tool discovery (
list_tools) - 🛠️ Automatic tool selection using Qwen
- 🔄 MCP tool execution with
call_tool - 🤖 Natural language response generation
- 📦 Local LLM integration with Ollama
- 🏦 Insurance domain demo with customer, policy, premium, claim, fraud detection, and policy renewal tools
Project Structure
.
├── client.py # MCP client and AI orchestration
├── server.py # MCP server exposing insurance tools
├── requirements.txt
├── .env.example
└── README.md
Available MCP Tools
| Tool | Description |
|---|---|
get_customer |
Retrieve customer information |
get_policy |
Retrieve policy details |
get_claim_status |
Check insurance claim status |
get_premium_due |
View premium due for a customer |
run_fraud_check |
Perform fraud risk analysis |
renew_policy |
Renew an inactive insurance policy |
Requirements
- Python 3.10+
- Ollama
- Qwen 2.5 model
Installation
Clone the repository:
git clone https://github.com/<your-username>/insurance-mcp-demo.git
cd insurance-mcp-demo
Install dependencies:
pip install -r requirements.txt
Install the Qwen model:
ollama pull qwen2.5:3b
Start Ollama:
ollama serve
Running the Project
python client.py
The client will:
- Launch the MCP server.
- Perform the MCP handshake.
- Discover available tools.
- Ask the LLM which tools should be used.
- Execute the selected MCP tools.
- Generate a user-friendly response.
Example Queries
What is the status of claim CL001?
Is there any fraud risk on claim CL003?
Show me the details for policy P1002.
Please renew policy P1003.
Tell me about customer C002 and their policy.
Run a fraud check on claim CL002 and show me the claim status.
Technologies Used
- Python
- FastMCP
- Model Context Protocol (MCP)
- Ollama
- Qwen 2.5
- httpx
- Rich
Future Improvements
- Support multiple LLM providers
- Add conversation memory
- Integrate a real insurance database
- Add authentication and authorization
- Containerize with Docker
- Build a web interface using Streamlit or FastAPI
- Add unit and integration tests
License
This project is intended for educational and demonstration purposes.
Installing Insurance Demo
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Sarthak-Singh2005/Insurance-MCPFAQ
Is Insurance Demo MCP free?
Yes, Insurance Demo MCP is free — one-click install via Unyly at no cost.
Does Insurance Demo need an API key?
No, Insurance Demo runs without API keys or environment variables.
Is Insurance Demo hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Insurance Demo in Claude Desktop, Claude Code or Cursor?
Open Insurance Demo on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Insurance Demo with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
