Skip to main content

智慧星光 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 服务器时,参数填写示例如下图所示:
ZHXG MCP Server

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

zhxg_mcp_server-0.2.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

zhxg_mcp_server-0.2.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file zhxg_mcp_server-0.2.2.tar.gz.

File metadata

  • Download URL: zhxg_mcp_server-0.2.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for zhxg_mcp_server-0.2.2.tar.gz
Algorithm Hash digest
SHA256 14f13c6f665c52a866eeda9a35216968d01a076833535856d73c9bdab99b2da5
MD5 cde77897bc6d42c9436260cbb0e1740b
BLAKE2b-256 03ad133e6b005585aed8b5b93e2c361b180a8a5cfbf83e48306656cc057a6576

See more details on using hashes here.

File details

Details for the file zhxg_mcp_server-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for zhxg_mcp_server-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f70e864e516390dcaa43dcd333edaae7b51a9c8cfde380a2606d852b59387683
MD5 9e509de7fed620de85e0533a25eb0a46
BLAKE2b-256 d8ab6900a8a1e2ec28f5095d108f0c2a962a382de145c574d46c67bbdaf54d03

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