ddgs-lmstudio-mcp
Provides DuckDuckGo-backed web search and news search capabilities, enabling AI agents to retrieve web and news results through tools such as web_search and news_search.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ddgs-lmstudio-mcp search the web for the latest Node.js LTS release and what changed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ddgs_lmstudio_mcp
为 LM Studio 提供 DuckDuckGo 搜索,让 Claude Code 使用本地模型时能够调用原生 WebSearch,沿用现有服务地址和凭据。
安装
环境:Linux(用户级 systemd)、Node.js 22.12+、LM Studio 桌面版。先启动 LM Studio 并开启本地 API 服务,再执行:
npm install -g github:hjd-hitsz/ddgs_lmstudio_mcp
ddgs-lmstudio-mcp install安装后随 LM Studio 自动启动和停止。升级时重新执行以上命令。
Related MCP server: Tagny MCP Server
代理
默认使用 http://127.0.0.1:7897。唯一配置项为代理端口,0 表示关闭代理、直接联网。
# 修改代理端口
ddgs-lmstudio-mcp install --proxy-port 7890
# 关闭代理
ddgs-lmstudio-mcp install --proxy-port 0使用
在 Claude Code 中选择 LM Studio 的本地模型,正常发起需要联网搜索的任务即可。
查看服务状态和日志:
ddgs-lmstudio-mcp status
journalctl --user -u ddgs-search-gateway.service其他 MCP 客户端可通过 ddgs-lmstudio-mcp mcp 连接,使用网页搜索 web_search 和新闻搜索 news_search。
卸载
systemctl --user disable --now ddgs-search-gateway.path
systemctl --user stop ddgs-search-gateway.service
npm uninstall -g ddgs_lmstudio_mcp开发
实现、兼容性与验证说明见开发文档。
许可证
Available Tools
2 toolsnews_search新闻搜索BRead-only
搜索近期新闻,返回标题、网址、摘要、日期和来源。回答中引用结果网址。
Inputs: query (required), region, timelimit, safesearch, +1 more.
web_search网页搜索ARead-only
搜索实时网页,返回标题、网址和摘要。回答中引用结果网址。
Inputs: query (required), region, timelimit, safesearch, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: general web search vs. recent news search. The news-specific extra fields (date, source) and recency focus make the boundary obvious.
Both tool names follow the same consistent snake_case noun_search pattern: web_search and news_search. There is no mixing of conventions or verb styles.
Two tools are well-scoped for a focused search server covering general web and news search. Each tool earns its place without unnecessary surface area.
The core search lifecycle is covered: general web lookup and recent news lookup. Minor gaps exist, such as optional filters or pagination, but agents can work around them.
Related MCP Connectors
Web search, scraping, RAG answers with citations, and translation as MCP tools.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Web search API and MCP server for developers building AI agents.
Scrape, crawl and search the web for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityFmaintenanceProvides web search functionality via DuckDuckGo for Claude Code and MCP-compatible clients, featuring advanced content exploration, navigation across search results, and detailed webpage analysis.317MIT
- AlicenseNot gradedqualityDmaintenanceEnables web browsing capabilities for locally served LLMs through URL text fetching, link extraction, and web search using Brave and DuckDuckGo engines. Designed to enhance LLMs with real-time web access through the MCP protocol.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables web search via DuckDuckGo and web content fetching through the Model Context Protocol, allowing AI assistants to search and retrieve web page content.9 npmMIT
- FlicenseNot gradedqualityDmaintenanceBrings DuckDuckGo search (web, news, images, videos) to any MCP-compatible AI client without requiring an API key.-