hunter mcp server
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
从 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
- 登录 https://hunter.qianxin.com → 个人中心 → API管理
功能说明
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 等)。
许可证
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.0.tar.gz
(46.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hunter_mcp-0.1.0.tar.gz.
File metadata
- Download URL: hunter_mcp-0.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
450313b484756c6930f3628b3237c279602c2166b12860d3dae27a2f0f732bcd
|
|
| MD5 |
ad8fa726ad2918c33852acd54ee9ba4a
|
|
| BLAKE2b-256 |
0e1387396d325b5c0fe04edaa45d9c39f95858674fb755875ec9994c6c7d21e5
|
File details
Details for the file hunter_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hunter_mcp-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac55c9463f94cbfb98b1d2327c1658982375bc4a7d202697a2ee3ce7ab78f474
|
|
| MD5 |
1d835a8b3038a50c7a9f4dd4ba3b3240
|
|
| BLAKE2b-256 |
84ff762162af9355ffeb59fab3e0abeb7b5e3b0139f52b832f579052a2978355
|