Insurance Demo
БесплатноНе проверенProvides an AI-powered insurance assistant with tools for customer, policy, claim, premium, fraud detection, and policy renewal operations.
Описание
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.
Установка Insurance Demo
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Sarthak-Singh2005/Insurance-MCPFAQ
Insurance Demo MCP бесплатный?
Да, Insurance Demo MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Insurance Demo?
Нет, Insurance Demo работает без API-ключей и переменных окружения.
Insurance Demo — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Insurance Demo в Claude Desktop, Claude Code или Cursor?
Открой Insurance Demo на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: 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
автор: xuzexin-hzCompare Insurance Demo with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
