Provides comprehensive import and export trade data query functions, including trend analysis, product statistics, and geographic distribution.
该MCP服务提供全面的进出口贸易数据查询功能,包括出口趋势分析、商品类别统计、订单地理分布、海外认证信息等,帮助用户了解企业的国际贸易情况。
git clone https://github.com/handaas/customs-mcp-server
cd customs-mcp-server
python -m venv mcp_env && source mcp_env/bin/activate
pip install -r requirements.txt
复制环境变量模板并配置:
cp .env.example .env
编辑 .env
文件,配置以下环境变量:
INTEGRATOR_ID=your_integrator_id
SECRET_ID=your_secret_id
SECRET_KEY=your_secret_key
python server/mcp_server.py streamable-http
服务将在 http://localhost:8000
启动。
{
"mcpServers": {
"handaas-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:8000/mcp"
}
}
}
{
"mcpServers": {
"customs-mcp-server": {
"command": "uv",
"args": ["run", "mcp", "run", "{workdir}/server/mcp_server.py"],
"env": {
"PATH": "{workdir}/mcp_env/bin:$PATH",
"PYTHONPATH": "{workdir}/mcp_env",
"INTEGRATOR_ID": "your_integrator_id",
"SECRET_ID": "your_secret_id",
"SECRET_KEY": "your_secret_key"
}
}
}
}
{
"mcpServers": {
"customs-mcp-server":{
"type": "streamableHttp",
"url": "https://mcp.handaas.com/customs/customs_bigdata?token={token}"
}
}
}
功能: 企业关键词模糊查询
根据提供的企业名称、人名、品牌、产品、岗位等关键词模糊查询相关企业列表。
参数:
matchKeyword
(必需): 匹配关键词pageIndex
(可选): 分页开始位置pageSize
(可选): 分页结束位置返回值:
total
: 总数功能: 出口趋势分析
根据企业的身份标识信息查询该企业的外贸出口趋势,包括每年的出口金额和订单数量等数据。
参数:
matchKeyword
(必需): 企业名称/注册号/统一社会信用代码/企业idkeywordType
(可选): 主体类型枚举返回值:
exportTrend
: 出口年份列表
amount
: 金额(美元)count
: 订单数量year
: 年份total
: 出口年份总数功能: 出口商品趋势分析
查询并分析企业外贸商品的发展趋势,提供企业在不同年份的出口商品订单量及海关HS编码分布信息。
参数:
matchKeyword
(必需): 企业名称/注册号/统一社会信用代码/企业idkeywordType
(可选): 主体类型枚举返回值:
exportGoodsOrderDistribution
: 出口商品订单量分布
orderCountOfYear
: 每年的订单量count
: 数量hsCode
: 海关HS商品编码year
: 年份exportGoodsOrderTrend
: 出口商品订单量趋势
year
: 年份count
: 数量name
: 名称功能: 外贸招聘分析
根据输入的企业标识信息,获取企业在过去三个月内的外贸相关岗位的招聘情况。
参数:
matchKeyword
(必需): 企业名称/注册号/统一社会信用代码/企业idkeywordType
(可选): 主体类型枚举返回值:
recruitingLatestThreeMonthCount
: 近三个月招聘岗位数recruitingCityCount
: 招聘城市数量recruitingCityList
: 招聘城市recruitingCount
: 招聘岗位数recruitingPositions
: 招聘岗位名称recruitingPlatforms
: 外贸相关岗位平台recruitingSourceCount
: 招聘渠道数量recruitingSourceList
: 招聘渠道功能: 出口订单地理分布
根据提供的企业标识信息查询该企业外贸订单的地理分布情况,包括各地区的订单金额、数量等。
参数:
matchKeyword
(必需): 企业名称/注册号/统一社会信用代码/企业idpageIndex
(可选): 页码 - 从1开始pageSize
(可选): 分页大小 - 一页最多获取50条keywordType
(可选): 主体类型枚举返回值:
resultList
: 订单地区分布列表
amount
: 金额(美元)count
: 订单数destCountry
: 国家/地区weight
: 净重(千克)total
: 分布地区总数功能: 海外认证信息查询
根据企业的名称、注册编号等查询企业的海外认证信息,包括认证类别、证书编号及相关产品信息。
参数:
matchKeyword
(必需): 企业名称/注册号/统一社会信用代码/企业idkeywordType
(可选): 主体类型枚举返回值:
certType
: 认证类别certId
: 证书号certCount
: 总数certDomain
: 认证领域certProductName
: 产品名称Access Jina AI's web services for web page reading, web search, and fact-checking. Requires a Jina AI API key.
A Model Context Protocol (MCP) server for the Open Library API that enables AI assistants to search for book and author information.
Provides web search functionality using the DuckDuckGo Search API.
Query your local `mu` mail index for fast, structured mail search from MCP clients.
All-in-One SEO & Web Intelligence Toolkit API from FetchSERP.
Web search using OpenAI's o3 model. Requires an OpenAI API key.
Search and book from over 2 million hotels with shopping and booking capabilities.
Production-ready RAG out of the box to search and retrieve data from your own documents.
An MCP server for web and local search using the Brave Search API.
Search and retrieve academic papers from the arXiv repository via its API.