智慧星光 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 服务器时,参数填写示例如下图所示:
Metadata
Release files for zhxg-mcp-server 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zhxg_mcp_server-0.2.2.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zhxg_mcp_server-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / zhxg_mcp_server-0.2.2.tar.gz
| Download URL | zhxg_mcp_server-0.2.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14f13c6f665c52a866eeda9a35216968d01a076833535856d73c9bdab99b2da5
|
|
BLAKE2b-256 checksum How to use checksums |
03ad133e6b005585aed8b5b93e2c361b180a8a5cfbf83e48306656cc057a6576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|
Release files / zhxg_mcp_server-0.2.2-py3-none-any.whl
| Download URL | zhxg_mcp_server-0.2.2-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f70e864e516390dcaa43dcd333edaae7b51a9c8cfde380a2606d852b59387683
|
|
BLAKE2b-256 checksum How to use checksums |
d8ab6900a8a1e2ec28f5095d108f0c2a962a382de145c574d46c67bbdaf54d03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|
Security for zhxg-mcp-server 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.