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.2.tar.gz (4.4 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.2.tar.gz.

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a6717d4e6be856593520d72d5f8de96b4dc92e0082e57d5d179e5184a1385324
MD5 999dc2b1e27705fba7d4d1e5d37fb168
BLAKE2b-256 eb93075c12c4dc57a0c080286f1059aa22101c8407bc1fa7889e2f56af7280fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for data_wise_business_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e42d31715061b5d9ba3599708241865e8f23bb9e38eeb1d0a36b4a6144828e2a
MD5 28d98ddc035e0a7e4084f32eedd5ef43
BLAKE2b-256 d74138b84b7b35084717f8061298c8db8d9a10bbddf7b048eb408c1d8300e5bb

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