Skip to main content

Smart Search MCP Server

一个集成远程智能搜索 API 的 MCP 服务器,实现关键词网页搜索功能。

特性

  • 网页搜索:支持关键词检索、分页、语言和安全等级选项。
  • 结构化返回:所有搜索结果以 JSON 格式返回。
  • 平台兼容:为 ModelScope MCP 平台优化,支持从源码直接部署。

工具

smart_search

  • 功能: 执行网页搜索,支持分页与安全选项。
  • 输入参数:
    • query (string): 搜索关键词
    • count (number, optional): 返回结果数量 (默认 10)
    • offset (number, optional): 分页偏移 (默认 0)
    • setLang (string, optional): 搜索语言 (默认 'en')
    • safeSearch (string, optional): 安全搜索等级 (默认 'Strict')

配置与部署

1. 获取 API 密钥

  • 注册一个支持智能搜索的 API 服务。
  • 获取并复制你的 API 密钥(格式通常为 endpoint-apikey)。

2. ModelScope 服务配置

在 ModelScope 创建 MCP 服务时,请使用以下配置。这种方式会从你的 GitHub 仓库拉取代码,并直接运行。

{
  "mcpServers": {
    "mcp-smartsearch": {
      "command": "uv",
      "args": [
        "run",
        "src/mcp-smartsearch/server.py"
      ],
      "env": {
        "SERVER_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Metadata

Release files for mcp-smartsearch 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-smartsearch 0.1.5
File Size Uploaded Provenance
mcp_smartsearch-0.1.5.tar.gz 3.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-smartsearch 0.1.5
File Interpreter ABI Platform
mcp_smartsearch-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / mcp_smartsearch-0.1.5.tar.gz

Download URL mcp_smartsearch-0.1.5.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1c7a7d03849ba134263d55cbe13c63cdf99783644bc42f8048662ee19ab0a5f2
BLAKE2b-256 checksum
How to use checksums
cd31b6c46b8eba37eabe49a7fd7a40f8bd9b976fd688eddf595e7ab92c66c625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release files / mcp_smartsearch-0.1.5-py3-none-any.whl

Download URL mcp_smartsearch-0.1.5-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
830346abd4a511b408d085fd5e694d198536887e8713352ad90381e088c428f6
BLAKE2b-256 checksum
How to use checksums
6317e2bbac0f7f57d51c2cb2997dd80ba1c9842f4757432b9a9424bec2bb5e09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Security for mcp-smartsearch 0.1.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page