Skip to main content

项目

功能

  • 网络搜索:一般查询、新闻、文章,带翻页。
  • 翻页:控制检索哪一页的结果。
  • 时间过滤:按时间范围(日、月、年)过滤结果。
  • 语言选择:按首选语言过滤结果。
  • 安全搜索:控制搜索结果的内容过滤级别。
  • 代理支持(暂时支持http代理,socks5代理未测试)

tools

  • searxng_web_search

访问 searxng Inputs:

  • query (string): The search query. This string is passed to external search services.
  • pageno (number, optional): Search page number, starts at 1 (default 1)
  • time_range (string, optional): Filter results by time range - one of: "day", "month", "year" (default: none)
  • language (string, optional): Language code for results (e.g., "en", "fr", "de") or "all" (default: "all")
  • safesearch (number, optional): Safe search filter level (0: None, 1: Moderate, 2: Strict) (default: instance setting)
  • web_url_read

Read and convert the content from a URL to markdown Inputs:

  • url (string): The URL to fetch and process

技术参数

  • python 3.11
  • 框架使用 FastMCP
  • dist 为打包输出目录
  • python 工具:uv

运行参数

  • SEARXNG_URL : searxng 服务器地址
  • PROXY_TYPE : 代理类型(代理开关,不填写时候,不启用代理,填写时候,启用代理。http 为 http 代理,socks5 为 socks5 代理)
  • PROXY_HOST : 代理地址,socks5 代理填写 127.0.0.1
  • PROXY_PORT : 代理端口, socks5 代理填写 1080
  • PROXY_URL : 代理地址, http 代理填写 http://127.0.0.1:10809(暂时不支持代理登录,优先考虑本地代理)

测试

使用

uvx  --from mcp-searxng-python mcp_searxng_python --help
{
  "searxng": {
    "command": "uvx",
    "args": [
      "--from",
      "mcp-searxng-python",
      "mcp_searxng_python",
      "stdio"
    ],
    "env": {
      "SEARXNG_URL": "",
      "PROXY_TYPE": "HTTP",
      "PROXY_URL": "http://127.0.0.1:7892"
    }
  }
}

Metadata

Release files for mcp-searxng-python 0.1.2

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-searxng-python 0.1.2
File Size Uploaded Provenance
mcp_searxng_python-0.1.2.tar.gz 9.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-searxng-python 0.1.2
File Interpreter ABI Platform
mcp_searxng_python-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.7 kB

Release files / mcp_searxng_python-0.1.2.tar.gz

Download URL mcp_searxng_python-0.1.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
769701a84f564a3376a2d9e24479aa0ad5002d70a07ad82ed61363e93b90fe48
BLAKE2b-256 checksum
How to use checksums
fb98d8c5b569d061d962ac92a26669e46d6706b0709c961492b9667914f90960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / mcp_searxng_python-0.1.2-py3-none-any.whl

Download URL mcp_searxng_python-0.1.2-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a275870e134f4116159afc2410d399b9e67abc1b0db7d37e8d3ed46f2d22236c
BLAKE2b-256 checksum
How to use checksums
b3e05e22a7a1bbabda28b9bfba07f6a6ad2265deb4bae6ed2ee847299506ed63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Security for mcp-searxng-python 0.1.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.

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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