智慧星光 MCP Server
Project description
智慧星光 MCP 服务
由智慧星光提供的互联网开源信息搜索能力,支持布尔逻辑关键词表达式及指定时间范围。
功能特点
- 支持布尔运算的关键词搜索,其中布尔运算符(OR、AND)必须使用大写,例如:人工智能 AND 医疗 AND 应用
- 支持时间范围过滤,例如:12h(最近 12 小时)、7d(最近 7 天)等
- 支持自定义返回结果数量,单次不超过 100 条
安装
推荐使用 uv 或 pip:
# 使用 uv
uv pip install zhxg-mcp-server
# 或使用 pip
pip install zhxg-mcp-server
快速开始
通过 MCP Inspector 调试
export ZHXG_API_KEY=<YOUR_API_KEY>
npx -y @modelcontextprotocol/inspector uv run ./src/zhxg_mcp_server/server.py
环境变量
ZHXG_API_KEY:用于访问智慧星光搜索 API 的密钥,获取方式 道丁数据平台。
MCP Servers 配置示例
{
"mcpServers": {
"zhxg_mcp_server": {
"command": "uvx",
"args": [
"zhxg_mcp_server"
],
"env": {
"ZHXG_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Cherry Studio 配置
- 在 Cherry Studio 中配置 MCP 服务器时,参数填写示例如下图所示:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zhxg_mcp_server-0.2.1.tar.gz
(5.0 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 zhxg_mcp_server-0.2.1.tar.gz.
File metadata
- Download URL: zhxg_mcp_server-0.2.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
744cef4be50af9af0c5a40bccf2edd41dc0ce218344b56473751c97bc75f8ff1
|
|
| MD5 |
087740373077096a309427fa0ea081ca
|
|
| BLAKE2b-256 |
46959137562d062222eed7173f51f4c1e7b7ffadcd140562de53396eb1dd2278
|
File details
Details for the file zhxg_mcp_server-0.2.1-py3-none-any.whl.
File metadata
- Download URL: zhxg_mcp_server-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5bdc95a60c95ed79fb5e4e56d2733081e350c55f7300eb6fe6e4516f0076043
|
|
| MD5 |
b1212b4f988ab85749612e202a9664f6
|
|
| BLAKE2b-256 |
b022022147e9b3ac5543f2623ee857292861cc1e76e04d5cb2256c007ffd0563
|