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.0.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.0.tar.gz.

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c33a3198fe09fe30bc694998956a9e1303d35be50712192105cf3df1782fe36
MD5 1ef1316b8229daa53ff9fb4c9c5e28ad
BLAKE2b-256 a879274ddc536bc86ed4834b4f0584833c5938456271ac6c4b83b83fb72931bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce3e83bdec68c96669493c2db9ed46d80b6681f4ed3d4a620233fb1c21737095
MD5 f0b707dc4c21e238f4c56529c7fbe958
BLAKE2b-256 01f5365e6124e7537572b1dc991da1f404cbc4916f75d9151a95d9c8d69879be

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