Skip to main content

MCP Server for Qianxin Hunter cyberspace mapping

Project description

Hunter MCP Server

一个用于查询 Hunter 网络空间测绘平台的 MCP (Model Context Protocol) 服务器。

功能特性

  • 🔍 Hunter 查询: 支持奇安信鹰图平台的资产查询

安装 MCP Server

使用 uvx 从 PyPI 下载安装 Mcp

uvx hunter-mcp

使用 pip 从 PyPI 下载安装 Mcp

pip install hunter-mcp
#pip install --index-url https://pypi.org/simple hunter-mcp

从 github 下载安装 Mcp,使用 pip 安装

git clone https://github.com/PiggyHurry/hunter-mcp.git
cd hunter-mcp
pip install .
#pip install -e . #Editable
#pip show hunter-mcp

配置 MCP Client

配置 json

{
  "mcpServers": {
    "hunter-mcp": {
      "command": "uvx",
      "args": [
        "hunter-mcp"
      ],
      "env": {
        "HUNTER_API_KEY": "xxx"
      }
    }
  }
}

获取 api-key

功能说明

Hunter 查询 (hunter_search)

主要参数:

  • search: 搜索语法(如 'title="北京"')
  • page: 页码,默认为 1。
  • page_size: 每页资产条数,默认为 10。
  • start_time: 开始时间,格式为 YYYY-MM-DD(超出近30天将扣除积分)。
  • end_time: 结束时间,格式为 YYYY-MM-DD(超出近30天将扣除积分)。
  • is_web: 资产类型,1代表”web资产“,2代表”非web资产“,3代表”全部“。
  • status_code: 状态码列表,以逗号分隔,如”200,401“。
  • fields: 可选返回字段,以逗号分隔(如 ip,port,domain 等)。

许可证

MIT License

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

hunter_mcp-0.1.1.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

hunter_mcp-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hunter_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for hunter_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a312d78143757c790377c8bcc9789ab2a317b16c042333eaa81c42d419385271
MD5 e9a2cd8be3dbccc2af5538432862ec2b
BLAKE2b-256 19d2ed3e960434db453baaa15a0314f52795b00725a615af24280274650dce0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hunter_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for hunter_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e3588e468b3e04c46fe7471695e52d83bd10ca94aff9bf11c5e44b13016e09b
MD5 d12fcd55c6265ca7391afc0b7c6178e9
BLAKE2b-256 7044e2a446749908d7f36c49779383970f8df42e2704fbca72308ef66b3894e3

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