Skip to main content

企业工商信息查询 MCP 服务

Project description

Data Wise Business MCP Server

企业工商信息查询 MCP 服务,基于站长之家 API。

功能

  • 查询企业工商信息
  • 支持企业名称关键词搜索

安装

pip install -e .

配置

需要设置环境变量:

export CHINAZ_API_KEY="your_api_key_here"

或在 .env 文件中配置:

CHINAZ_API_KEY=your_api_key_here

使用

作为 MCP 服务器运行

python -m data_wise_business_mcp_server.main

在 MCP 客户端中配置

在 Kiro 的 mcp.json 中添加:

{
  "mcpServers": {
    "data-wise-business": {
      "command": "uvx",
      "args": ["data-wise-business-mcp-server"],
      "env": {
        "CHINAZ_API_KEY": "your_api_key_here"
      }
    }
  }
}

API 工具

query_business_info

查询企业工商信息。

参数:

  • keyword (string): 企业名称关键词,例如 "杭州数脉科技有限公司"

返回:

{
  "status_code": 200,
  "success": true,
  "data": {
    // 企业工商信息数据
  }
}

示例

# 查询企业信息
result = query_business_info("杭州数脉科技有限公司")
print(result)

API 来源

使用站长之家开放 API:https://openapi.chinaz.net/

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_wise_business_mcp_server-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file data_wise_business_mcp_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 13477fe0b9b3eeccb08ef3e1204e7461b04552b14261d908b31740bd17d83b6c
MD5 c926363d9eb39ac454a743676f9fc9cc
BLAKE2b-256 0f19904994d7ef2d65cba35ef1ada6b6084bea4aae3d9117e134ce9ff013668b

See more details on using hashes here.

File details

Details for the file data_wise_business_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87df20dc17fd49b2bf2bdc1787e2f686fa43af6f432b96f4783249c90e71acc4
MD5 e13aa4a67bb5edb6579871c997dd9261
BLAKE2b-256 a74eb3c92d96758989acab23ef98b8d32c0f21ee85db65ef5a4edd102b2ee445

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page