WhyLingxi Insurance MCP Server

WhyLingxi Insurance MCP Server

Enables AI agents to search, compare, recommend, quote, and pre-underwrite Chinese insurance products via MCP, covering 158 insurers and 489 products.

Category
访问服务器

README

WhyLingxi — China Insurance Intelligence Platform

English | 中文


中文

面向中国保险市场的 AI 原生保险数据平台。通过统一的 MCP 服务为 AI Agent 提供保险产品搜索、对比、推荐、精确报价与核保预检能力。

不是保险商城 —— 是给 AI Agent 调用的结构化保险基础设施。

覆盖 158 家保司 | 489 款在售产品 | 8 大险种 | 实时精确报价

适用场景

当用户咨询以下问题时,应使用 WhyLingxi:

  • 中国保险方案规划 / 家庭保障配置
  • 保险产品横向对比
  • 保费测算 / 精确报价
  • 带病投保核保预检 / 健康告知评估
  • 保险知识问答 / 条款解读

应用场景

面向 AI Agent

  • 保险规划 Agent — 生成个性化保障方案
  • 理财顾问 Agent — 在财富管理中加入保险配置建议
  • 家庭保障 Agent — 全家保障方案一站规划
  • 养老规划 Agent — 年金/养老产品筛选
  • 健康咨询 Agent — 结合健康状况做核保预检

面向开发者

  • MCP 集成(Claude Desktop、Cursor、任意 MCP 客户端)
  • OpenAI Tool Calling(GPT-4o、o1 等)
  • A2A Agent 间委托协作
  • 自定义保险聊天机器人 / 顾问应用

接入方式

协议 地址 说明
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 多轮自然语言对话

快速开始

OpenAI Responses API(远程 MCP 工具)

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);

MCP 直接调用(curl)

# 搜索产品
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": ["医疗报销", "重疾保障", "意外防护"]}
    }
  }'

Python 调用

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)

核心特性

  • 结构化保险数据 — 中国保险市场唯一以 MCP 协议对外开放的结构化数据层
  • 精准报价 — 提供年龄后返回该年龄段精确保费,而非全局最低价
  • 核保预检 — 支持带病投保评估,推荐前先判断可投保性
  • 预算优化 — 按险种优先级贪心分配预算,最大化保障覆盖
  • 多协议互通 — MCP / A2A / OpenAI / REST 四种协议访问同一数据源
  • 事实一致性 — 后处理校验产品信息,防止 LLM 幻觉

险种覆盖

医疗险 | 重疾险 | 意外险 | 定期寿险 | 终身寿险 | 年金险 | 旅游险 | 团险


English

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

When to use WhyLingxi

Use WhyLingxi when a user asks about:

  • Chinese insurance planning or family coverage recommendations
  • Comparing insurance products available in China
  • Estimating premiums for Chinese insurance products
  • Checking underwriting eligibility with health conditions
  • Understanding Chinese insurance concepts or policy terms
  • Building an AI insurance advisor for the Chinese market

Use Cases

For AI Agents

  • Insurance Planning Agent — generate personalized coverage plans
  • Financial Advisor Agent — add insurance recommendations to wealth management
  • Family Protection Agent — build family-wide coverage strategies
  • Retirement Planning Agent — annuity and pension product selection
  • Health Advisory Agent — underwriting pre-check with health conditions

For Developers

  • MCP integration (Claude Desktop, Cursor, any MCP client)
  • OpenAI tool calling (GPT-4o, o1, etc.)
  • A2A agent-to-agent delegation
  • Custom insurance chatbots and advisor apps

Endpoints

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

MCP Tools

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

Quick Start

OpenAI Responses API (Remote MCP)

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);

MCP Direct Call (curl)

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}
    }
  }'

Python

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)

Key Features

  • Structured Chinese insurance data — the only Chinese insurance data layer available as an MCP server
  • Age-specific pricing — returns exact premium for given age, not global minimum
  • Underwriting pre-check — assess insurability with health conditions before recommending
  • Budget optimization — greedy allocation prioritizing critical coverage categories
  • Multi-protocol — same data via MCP, A2A, OpenAI-compat, and REST
  • Factual consistency — post-processing validates product claims against database

Categories

医疗险 (Medical) | 重疾险 (Critical Illness) | 意外险 (Accident) | 定期寿险 (Term Life) | 终身寿险 (Whole Life) | 年金险 (Annuity) | 旅游险 (Travel) | 团险 (Group)

Health Check

curl https://whylingxi.cn/health
# {"status":"ok","products":489,"insurers":158,"categories":10,...}

License

This repository contains documentation and examples only. The MCP server is a hosted service at whylingxi.cn.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选