vehicle-mcp-server
车辆:品牌汽车区域销量情况
该 MCP 服务围绕品牌汽车区域销量情况,提供汽车品牌发现、品牌详情、区域经营布局、车型与车款销量以及经销商查询能力。
所属板块:市场贸易
主要功能
汽车品牌多条件检索
品牌与制造商详情
品牌区域门店经营布局
在售车型和车型销量分析
车款配置与经销商
Related MCP server: estore-mcp-server
服务设计说明
服务以品牌汽车在不同区域的销量和渠道布局分析为核心,品牌、车型、车款和经销商信息用于补充销量研判上下文。
服务提供 7 个只读 Tool,单次 Tool 调用只访问一个 Product ID。
翻页结果统一收口为
total与resultList。成功响应自动兼容 Gateway业务 data和内部
stat/data两种形态。请求超时可通过
HANDAAS_REQUEST_TIMEOUT配置,默认30秒。
环境要求
Python 3.10+
依赖:
mcp、python-dotenv、requests
本地快速启动
cd vehicle-mcp-server
python3 -m venv mcp_env
source mcp_env/bin/activate
pip install -r requirements.txt
cp .env.example .env
python server/mcp_server.py streamable-http服务默认地址:http://127.0.0.1:8000/mcp。支持 stdio、sse 和 streamable-http。
环境变量
INTEGRATOR_ID=your_integrator_id
SECRET_ID=your_secret_id
SECRET_KEY=your_secret_key
HANDAAS_REQUEST_TIMEOUT=30真实凭据只能保存在本地 .env 或部署密钥中。
Cursor / Cherry Studio配置
{
"mcpServers": {
"vehicle-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:8000/mcp"
}
}
}可用 Tool 与 Product ID
MCP Tool | 使用场景 | Product ID | 关键输入 |
| 发现汽车品牌并取得 |
| 品牌、厂商、国别、销量、上市日期、分页 |
| 查询品牌厂商和历史销量概况 |
|
|
| 分析区域门店、月销量和商圈布局 |
|
|
| 查询品牌在售车型并取得 |
|
|
| 查询车型最近 12 个月销量和品牌内排名 |
|
|
| 查询具体车款、配置和上月销量 |
| 品牌、日期、能源、车型、价格、分页 |
| 查询品牌区域经销商和商圈信息 |
| 品牌、地区、类型、营业额、商圈、分页 |
推荐调用流程
先用
vehicle_brand_search确认品牌并取得manufacturerId。使用品牌 ID 查询品牌详情和区域销量布局。
需要车型分析时,先查在售车型取得
carModelId,再查询最近 12 个月销量。使用品牌 ID 继续查询车款配置或指定区域经销商。
Tool 详细说明
1. vehicle_brand_search
何时使用:用户只提供品牌名、厂商名、所属国或销量范围时,用于定位汽车品牌。
关键参数:keyword 为品牌模糊词;年销量筛选单位为万辆;上市日期格式为 YYYY-MM-DD;pageSize 最大 10。
返回说明:返回品牌、厂商、所属国、价格区间、年销量和在售规模,并提供 manufacturerId。
2. vehicle_brand_detail
何时使用:需要品牌介绍、热销车型、历史销量、在售规模或门店概况时使用。
关键参数:manufacturerId 必须来自品牌检索结果。
返回说明:详情以 total=1 和单条 resultList 返回。
3. vehicle_brand_market_analysis
何时使用:比较品牌在不同省份或某省不同城市的门店与销量布局时使用。
关键参数:必填 manufacturerId;不传 province 时按省份汇总,传入“广东”等省份短名时按城市汇总。
返回说明:返回 storeLayout,包括门店数量、月销量、占比、商圈数量和周边月均客流。
4. vehicle_on_sale_model_list
何时使用:查看品牌当前在售车型、价格和车款数量,或为销量查询取得车型 ID 时使用。
关键参数:manufacturerId 来自品牌检索;支持分页。
返回说明:返回车型名称、级别、价格和 carModelId。
5. vehicle_model_sales_ranking
何时使用:查看某车型最近 12 个月销量和品牌内排名时使用。
关键参数:manufacturerId 必填;carModelId 来自在售车型结果,不传时查询该品牌销量最高的车型。
返回说明:返回车型名称以及最近 12 个月的月份、销量和排名。
6. vehicle_car_trim_list
何时使用:需要查询具体车款、能源类型、指导价、配置或上月销量时使用。
关键参数:价格单位为元;carType 与 secondCarType 不能同时提供;日期格式为 YYYY-MM-DD;支持分页。
返回说明:返回车型、车款、上市时间、能源类型、指导价、配置和上月销量。
7. vehicle_dealer_list
何时使用:需要查找某品牌在指定区域的经销商、运营主体和商圈信息时使用。
关键参数:manufacturerId 必填;可按省、市、区县、经销类型、年营业额和商圈类型筛选。
返回说明:返回门店名称、企业主体、地址、商圈、客流和周边房价等信息。
使用示例
示例一:品牌区域销量
分析比亚迪在广东省各城市的门店数量、月销量和销量占比。
先调用 vehicle_brand_search(keyword="比亚迪") 取得 manufacturerId,再调用:
{
"tool": "vehicle_brand_market_analysis",
"arguments": {
"manufacturerId": "从品牌检索结果取得",
"province": "广东"
}
}示例二:车型销量趋势
查看比亚迪某款在售车型最近 12 个月销量和品牌内排名。
先查询品牌,再调用 vehicle_on_sale_model_list 取得 carModelId,最后调用:
{
"tool": "vehicle_model_sales_ranking",
"arguments": {
"manufacturerId": "从品牌检索结果取得",
"carModelId": "从在售车型结果取得"
}
}示例三:区域经销商
查找比亚迪在深圳的经销商和所在商圈。
{
"tool": "vehicle_dealer_list",
"arguments": {
"manufacturerId": "从品牌检索结果取得",
"province": "广东省",
"city": "深圳市",
"pageIndex": 1,
"pageSize": 10
}
}使用注意事项
manufacturerId来自汽车品牌检索结果。carModelId来自在售车型结果,在 Product API wire 层映射为carId。一级车型
carType与二级车型secondCarType不能同时提供。年销量筛选单位为万辆,车款价格筛选单位为元,返回销量单位以字段说明为准。
测试验证
python -m py_compile server/mcp_server.py
python -m unittest discover -s tests -v单元测试使用 Mock 响应;真实验证通过本地 .env 调用 HandaaS Integrator Gateway。
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.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive tools for enterprise searching, channel statistical analysis, and dealer network mapping to help users evaluate market coverage and competitive positioning. It enables detailed industry benchmarking and provides insights into sales strength, brand influence, and distribution efficiency.1
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive enterprise e-commerce data including global store profiles, product category statistics, and sales performance analysis. It enables users to search for companies and evaluate their domestic and international e-commerce business layouts across various platforms.1
- FlicenseNot gradedqualityBmaintenanceProvides 25 interactive automotive intelligence tools for real-time market data, including VIN decoding, price predictions, and inventory analytics. It enables AI assistants to perform car searches, trade-in estimations, and market trend analysis using the Model Context Protocol.2
- FlicenseNot gradedqualityBmaintenanceProvides dealership intelligence by integrating CRM, DMS, CDP, and analytics data, enabling tools for lead management, inventory, customer 360, and OEM KPI queries through a FastMCP server.
Related MCP Connectors
Car logo API and image CDN: search automotive brands, fetch brand data, and build logo CDN URLs.
Vehicle data for AI: VIN decoder, automotive specs, stolen checks, valuation and way more.
VIN decoding and European vehicle data for automotive workflows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/handaas/vehicle-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server