qwen-web-research-mcp
qwen-web-research-mcp
用于网络研究的 MCP 服务器:给定一个 URL(或一个站点 + 要搜索的短语),它会获取完整页面内容,并使用本地 Qwen 模型(通过 Ollama)来提取/回答有关该页面的问题。长页面会自动拆分成多个块,并使用 map-reduce 策略进行分析,因此不会遗漏任何内容。
内容提取使用 trafilatura,它基于内容启发式规则(而非针对特定站点的 CSS 选择器)去除导航、广告和样板内容——因此即使站点布局发生变化,它也能继续工作。站点范围内的搜索使用 DuckDuckGo 的 site: 操作符,因此任何域名都可以工作,无需为每个站点编写自定义抓取代码。
工具
analyze_page(url, question)— 获取一个页面,并回答关于其完整内容的question。search_site_and_analyze(site, phrase, question, max_results)— 在site上查找包含phrase的页面,然后对每个匹配项运行analyze_page风格的提取。list_available_models()— 列出所配置 Ollama 服务器上可用的 Qwen/Ollama 模型。
Related MCP server: searxng-mcp
要求
Python 3.11+
一个 Ollama 服务器,且已拉取至少一个 Qwen 模型(默认为
qwen3:14b)
配置(环境变量)
变量 | 默认值 | 描述 |
|
| 要使用的 Ollama 模型 |
|
| Ollama 服务器的端口 |
| 自动检测 | 覆盖 Ollama 主机 IP。如果未设置,则从 |
|
|
|
|
| 绑定主机(仅 HTTP 传输) |
|
| 绑定端口(仅 HTTP 传输) |
在本地运行
python3 -m venv .venv
.venv/bin/pip install -e .
.venv/bin/python -m qwen_web_research.server使用 Docker 运行
docker build -t qwen-web-research-mcp .
docker run -p 8001:8000 \
-e MCP_TRANSPORT=streamable-http \
-e MCP_HOST=0.0.0.0 \
-e OLLAMA_HOST_IP=host.docker.internal \
qwen-web-research-mcp或者作为 docker-compose.yml 中的一项服务,与其他工具(例如 Open WebUI)一起运行:
qwen-web-research:
build: ./qwen-web-research-mcp
ports:
- "8001:8000"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- MCP_TRANSPORT=streamable-http
- MCP_HOST=0.0.0.0
- MCP_PORT=8000
- OLLAMA_HOST_IP=host.docker.internal
- QWEN_MODEL=qwen3:14b然后将你的 MCP 客户端(例如 Open WebUI 的 Tools/Connections 设置)指向 http://qwen-web-research:8000/mcp(Docker 内部网络)或 http://localhost:8001/mcp(从宿主机访问)。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for local semantic search over web content, enabling AI agents to ingest, index, and query pages with hybrid retrieval and token budget control.4GPL 2.0
- AlicenseAqualityAmaintenanceMCP server for private web search via self-hosted SearXNG with local reranking, full-page content fetching via Firecrawl, and optional Ollama-powered query expansion and summaries.79416MIT
- AlicenseNot gradedqualityAmaintenanceA self-contained web-research MCP server that lets local LLM agents search, fetch, and synthesize web content using tools like web_search, web_fetch, and web_research.MIT
- AlicenseNot gradedqualityCmaintenanceSemantic web search MCP server that navigates the live web using a cheap LLM and local embeddings, caching results for fast responses to similar queries without relying on general search engines.MIT
Related MCP Connectors
Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/frankjony17/qwen-web-research-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server