HANDAAS Enterprise Big Data Service MCP
A server that provides enterprise data services including company information, profiles, business details, shareholders, investments, branches, and key personnel through keyword search and specific queries.
README
旷湖企业大数据服务MCP
该MCP服务提供旷湖企业大数据服务,包括企业工商信息、企业简介、企业标签、企业业务、企业控股股东信息、企业对外投资信息、企业分支机构信息、企业主要人员信息等。
功能特性
- 🔍 企业关键词模糊搜索
- 🏢 企业基础信息查询
- 👥 企业控股股东信息
- 💰 企业对外投资信息
- 🏪 企业分支机构信息
- 👨💼 企业主要人员信息
环境要求
- Python 3.10+
- 依赖包:python-dotenv, requests, mcp
本地streamable-http快速启动
1. 克隆项目
git clone https://github.com/handaas/mcp-server
cd mcp-server
2. 创建虚拟环境&安装依赖
python -m venv mcp_env && source mcp_env/bin/activate
pip install -r requirements.txt
3. 环境配置
复制环境变量模板并配置:
cp .env.example .env
编辑 .env 文件,配置以下环境变量:
INTEGRATOR_ID=your_integrator_id
SECRET_ID=your_secret_id
SECRET_KEY=your_secret_key
4. 修改server/enterprise_mcp_server脚本中启动方式为streamable-http
mcp.run(transport="streamable-http")
4. 启动服务
python server/enterprise_mcp_server.py
服务将在 http://localhost:8000 启动。
5. Cursor / Cherry Studio MCP配置
{
"mcpServers": {
"handaas-mcp-server": {
"type": "streamableHttp",
"url": "http://127.0.0.1:8000/mcp"
}
}
}
STDIO版安装部署
1. 修改server/enterprise_mcp_server脚本中启动方式为stdio
mcp.run(transport="stdio")
2. 设置Cursor / Cherry Studio MCP配置
{
"mcpServers": {
"handaas-mcp-server": {
"command": "uv",
"args": ["run", "mcp", "run", "{workdir}/server/enterprise_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"
}
}
}
}
使用官方Remote服务
1. 直接设置Cursor / Cherry Studio MCP配置
{
"mcpServers": {
"handaas-ent-mcp-server":{
"url": "http://mcp.handaas.com/ent_mcp?token={token}"
}
}
}
注意:integrator_id、secret_id、secret_key及token需要登录 https://www.handaas.com/ 进行注册开通平台获取
可用工具 (Tools)
1. get_keyword_search
功能: 关键词模糊查询企业
根据提供的企业名称、人名、品牌、产品、岗位等关键词模糊查询相关企业列表。
参数:
matchKeyword(必需): 匹配关键词 - 查询各类信息包含匹配关键词的企业pageIndex(可选): 分页开始位置pageSize(可选): 分页结束位置 - 一页最多获取50条数据
返回值:
catchReason: 命中原因address: 地址enterpriseType: 企业类型foundTime: 成立时间homepage: 官网legalRepresentative: 法人name: 企业名称operStatus: 经营状态regCapitalCoinType: 注册资本币种regCapitalValue: 注册资本annualTurnover: 年营业额
2. get_enterprise_base_info
功能: 查询企业基础信息
通过输入企业全称查询企业业务相关信息,识别该公司是做什么的。
参数:
keyword(必需): 企业全称
返回值:
base_info: 企业工商信息desc: 企业简介business_info: 企业业务tag: 企业标签
3. get_enterprise_holder_info
功能: 查询企业控股股东信息
通过输入企业全称查询企业控股股东信息,该信息通过工商信息及旷湖全部数据分析得出。
参数:
keyword(必需): 企业全称
返回值:
holderList: 股东列表(工商公示)entityType: 主体类型holderType: 股东类型name: 股东名称nameId: 企业idhumanId: 人员idpayAmount: 实缴金额ratio: 持股比例subscriptionDetail: 认缴信息
stockHolderList: 股东列表(最新公示)来自于上市信息
4. get_enterprise_invest_info
功能: 查询企业对外投资信息
通过输入企业全称查询企业的对外投资信息,该信息通过工商信息及旷湖全部数据分析得出。
参数:
keyword(必需): 企业全称
返回值:
resultList: 对外投资结果列表addressValue: 被投资公司所属地区business: 被投资公司经营范围foundTime: 被投资公司成立日期isListed: 被投资公司上市状态legalRepresentative: 被投资公司法定代表人name: 对外投资企业名operStatus: 对外投资企业经营状态ratio: 占股比例regCapital: 被投资公司注册资本scCode: 对外投资企业统一信用编码subscriptionAmount: 投资金额信息
5. get_enterprise_branch_info
功能: 查询企业分支机构信息
通过输入企业全称查询企业的分支机构信息,分支机构信息来源于工商公示。
参数:
keyword(必需): 企业全称
返回值:
resultList: 分支机构结果列表addressValue: 地址信息foundTime: 成立时间legalRepresentative: 法定代表人name: 机构名称operStatus: 经营状态orgCode: 组织机构代码registrationAuthority: 登记机关socialCreditCode: 统一社会信用代码
6. get_enterprise_main_person_info
功能: 查询企业主要人员信息
通过输入企业全称查询企业的主要人员信息,主要人员信息来源于工商公示。
参数:
keyword(必需): 企业全称
返回值:
resultList: 主要人员结果列表name: 成员名称position: 职位ratio: 持股比例relatedEnterpriseCurrentNum: 现任职企业数relatedEnterpriseHistoryNum: 曾任职企业数
使用注意事项
-
企业全称要求: 在调用需要企业全称的接口时,需要先调用关键词模糊查询企业接口进行补全后,再调用该接口。
-
API限制: 分页查询时,一页最多获取50条数据。
-
环境变量: 确保正确配置
INTEGRATOR_ID、SECRET_ID和SECRET_KEY。 -
错误处理: 所有接口都包含错误处理,查询失败时会返回相应的错误信息。
-
网络要求: 服务器需要能够访问
https://handaas.comAPI接口。
故障排除
- 环境变量未配置: 检查
.env文件是否存在且配置正确 - 网络连接问题: 确保服务器可以访问
https://handaas.com - 端口占用: 如果8000端口被占用,可以修改
enterprise_mcp_server.py中的端口配置
项目结构
enterprise-mcp/
├── server/
│ └── enterprise_mcp_server.py # MCP服务器主文件
├── client_example.py # 客户端使用示例
├── requirements.txt # Python依赖
├── start_mcp.sh # 启动脚本
├── .env.example # 环境变量模板
└── README.md # 项目文档
MCP使用示例
- 探迹科技是做什么的?
- 探迹科技有哪些股东?
- 探迹科技对外投资了哪些企业?
- 探迹科技有哪些分公司?
- 探迹科技的业务有哪些?
联系方式
如有问题或建议,请联系开发团队。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.