Insurance MCP Demo
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., "@Insurance MCP DemoCheck the status of claim CL001"
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.
Insurance MCP Demo
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
Related MCP server: Zava Insurance MCP Server
Project Structure
.
├── client.py # MCP client and AI orchestration
├── server.py # MCP server exposing insurance tools
├── requirements.txt
├── .env.example
└── README.mdAvailable MCP Tools
Tool | Description |
| Retrieve customer information |
| Retrieve policy details |
| Check insurance claim status |
| View premium due for a customer |
| Perform fraud risk analysis |
| 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-demoInstall dependencies:
pip install -r requirements.txtInstall the Qwen model:
ollama pull qwen2.5:3bStart Ollama:
ollama serveRunning the Project
python client.pyThe 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.
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
- 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/Sarthak-Singh2005/Insurance-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server