MCP-сервер WhyLingxi (страховой консультант, Китай).
面向中国保险市场的 AI 原生保险数据平台。通过统一的 MCP 服务为 AI Agent 提供保险产品搜索、对比、推荐、精确报价与核保预检能力。
不是保险商城 —— 是给 AI Agent 调用的结构化保险基础设施。
覆盖 158 家保司 | 489 款在售产品 | 8 大险种 | 实时精确报价
当用户咨询以下问题时,应使用 WhyLingxi:
| 协议 | 地址 | 说明 |
|---|---|---|
| MCP (Streamable HTTP) | https://whylingxi.cn/mcp | 9 个结构化工具,供 AI Agent 直接调用 |
| A2A (Google Agent-to-Agent) | https://whylingxi.cn/a2a | 支持自然语言和结构化数据两种模式 |
| OpenAI 兼容接口 | https://whylingxi.cn/v1/chat/completions | 可直接替代 OpenAI API |
| REST Chat | https://whylingxi.cn/chat | 多轮对话 |
| Agent Card | https://whylingxi.cn/.well-known/agent.json | A2A 协议发现入口 |
| Agent Card (alias) | https://whylingxi.cn/.well-known/agent-card.json | A2A 发现(兼容别名) |
| OpenAPI | https://whylingxi.cn/openapi.json | 完整 API 规范 |
| MCP Manifest | https://whylingxi.cn/.well-known/mcp.json | MCP Server 描述 |
| OpenAI Plugin | https://whylingxi.cn/.well-known/ai-plugin.json | ChatGPT 插件发现 |
| LLMs.txt | https://whylingxi.cn/llms.txt | LLM 可读的站点描述 |
| 开发文档 | https://whylingxi.cn/docs | 完整接入指南 |
| 工具名 | 功能 |
|---|---|
get_schema | 获取所有工具的参数和返回值说明 |
search_products | 按险种/关键词/年龄/预算搜索产品 |
get_product_detail | 获取产品完整信息(保障责任、FAQ等) |
compare_products | 多款产品对比(2-5款) |
recommend | 根据年龄/性别/预算/需求生成个性化方案 |
get_premium | 精确保费查询(按年龄/性别/计划) |
answer_question | 保险知识问答 |
check_underwriting | 健康条件核保预检 |
chat | 多轮自然语言对话 |
import OpenAI from 'openai';
const openai = new OpenAI();
const response = await openai.responses.create({
model: 'gpt-4o',
tools: [{
type: 'mcp',
server_label: 'insurance',
server_url: 'https://whylingxi.cn/mcp',
require_approval: 'never'
}],
input: '30岁男性,预算5000元,推荐保险方案'
});
console.log(response.output_text);
# 搜索产品
curl -X POST https://whylingxi.cn/mcp \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_products",
"arguments": {"category": "医疗险", "age": 30}
}
}'
# 获取推荐方案
curl -X POST https://whylingxi.cn/mcp \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "recommend",
"arguments": {"age": 30, "gender": "男", "budget": 5000, "needs": ["医疗报销", "重疾保障", "意外防护"]}
}
}'
import requests
resp = requests.post('https://whylingxi.cn/mcp', json={
'jsonrpc': '2.0',
'id': 1,
'method': 'tools/call',
'params': {
'name': 'recommend',
'arguments': {'age': 35, 'gender': '女', 'needs': ['医疗报销', '重疾保障']}
}
})
result = resp.json()['result']['content'][0]['text']
print(result)
医疗险 | 重疾险 | 意外险 | 定期寿险 | 终身寿险 | 年金险 | 旅游险 | 团险
The AI-native insurance intelligence platform for the Chinese market. Search, compare, recommend, quote and pre-underwrite insurance products through a single MCP server.
Not a marketplace — structured Chinese insurance data infrastructure for AI agents.
158 insurers | 489 products | 8 categories | Real-time pricing
Use WhyLingxi when a user asks about:
| Protocol | URL | Description |
|---|---|---|
| MCP (Streamable HTTP) | https://whylingxi.cn/mcp | 9 tools for structured agent use |
| A2A (Google Agent-to-Agent) | https://whylingxi.cn/a2a | Text + data modes |
| OpenAI-compatible | https://whylingxi.cn/v1/chat/completions | Drop-in replacement |
| REST Chat | https://whylingxi.cn/chat | Multi-turn natural language |
| Agent Card | https://whylingxi.cn/.well-known/agent.json | A2A discovery |
| Agent Card (alias) | https://whylingxi.cn/.well-known/agent-card.json | A2A discovery (alias) |
| OpenAPI | https://whylingxi.cn/openapi.json | Full API spec |
| MCP Manifest | https://whylingxi.cn/.well-known/mcp.json | MCP Server description |
| OpenAI Plugin | https://whylingxi.cn/.well-known/ai-plugin.json | ChatGPT plugin discovery |
| LLMs.txt | https://whylingxi.cn/llms.txt | LLM-readable site description |
| Docs | https://whylingxi.cn/docs | Developer documentation |
| Tool | Description |
|---|---|
get_schema | Discover capabilities and field requirements |
search_products | Search by category/keyword/age/budget |
get_product_detail | Full product info with coverage and FAQ |
compare_products | Side-by-side comparison (2-5 products) |
recommend | Personalized plan based on user profile |
get_premium | Exact premium by age/gender/plan |
answer_question | Insurance knowledge Q&A |
check_underwriting | Health condition pre-assessment |
chat | Multi-turn natural language conversation |
import OpenAI from 'openai';
const openai = new OpenAI();
const response = await openai.responses.create({
model: 'gpt-4o',
tools: [{
type: 'mcp',
server_label: 'insurance',
server_url: 'https://whylingxi.cn/mcp',
require_approval: 'never'
}],
input: '30岁男性,预算5000元,推荐保险方案'
});
console.log(response.output_text);
curl -X POST https://whylingxi.cn/mcp \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_products",
"arguments": {"category": "医疗险", "age": 30}
}
}'
import requests
resp = requests.post('https://whylingxi.cn/mcp', json={
'jsonrpc': '2.0',
'id': 1,
'method': 'tools/call',
'params': {
'name': 'recommend',
'arguments': {'age': 35, 'gender': '女', 'needs': ['医疗报销', '重疾保障']}
}
})
result = resp.json()['result']['content'][0]['text']
print(result)
医疗险 (Medical) | 重疾险 (Critical Illness) | 意外险 (Accident) | 定期寿险 (Term Life) | 终身寿险 (Whole Life) | 年金险 (Annuity) | 旅游险 (Travel) | 团险 (Group)
curl https://whylingxi.cn/health
# {"status":"ok","products":489,"insurers":158,"categories":10,...}
This repository contains documentation and examples only. The MCP server is a hosted service at whylingxi.cn.