原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Search Memory

作者:kefyusuf版本 1.2.0i★ –i在你的电脑上运行
注册名称io.github.kefyusuf/search-memory-mcp

安装

概览

作者提供的说明(英文原文)

Free web search and long-term memory for AI assistants. No API keys; data stays local.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SEARCH_PROVIDERS, CACHE_DB_PATH, INGEST_ALLOWED_DIRS, SEARXNG_BASE_URL, BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY, READER_FALLBACK_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "search-memory": {
      "command": "npx",
      "args": [
        "-y",
        "search-memory-mcp"
      ],
      "env": {
        "SEARCH_PROVIDERS": "your-value",
        "CACHE_DB_PATH": "your-value",
        "INGEST_ALLOWED_DIRS": "your-value",
        "SEARXNG_BASE_URL": "your-value",
        "BRAVE_SEARCH_API_KEY": "your-value",
        "TAVILY_API_KEY": "your-value",
        "EXA_API_KEY": "your-value",
        "READER_FALLBACK_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add search-memory --env SEARCH_PROVIDERS=your-value --env CACHE_DB_PATH=your-value --env INGEST_ALLOWED_DIRS=your-value --env SEARXNG_BASE_URL=your-value --env BRAVE_SEARCH_API_KEY=your-value --env TAVILY_API_KEY=your-value --env EXA_API_KEY=your-value --env READER_FALLBACK_URL=your-value -- npx -y search-memory-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "search-memory": {
      "command": "npx",
      "args": [
        "-y",
        "search-memory-mcp"
      ],
      "env": {
        "SEARCH_PROVIDERS": "your-value",
        "CACHE_DB_PATH": "your-value",
        "INGEST_ALLOWED_DIRS": "your-value",
        "SEARXNG_BASE_URL": "your-value",
        "BRAVE_SEARCH_API_KEY": "your-value",
        "TAVILY_API_KEY": "your-value",
        "EXA_API_KEY": "your-value",
        "READER_FALLBACK_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "search-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "search-memory-mcp"
      ],
      "env": {
        "SEARCH_PROVIDERS": "your-value",
        "CACHE_DB_PATH": "your-value",
        "INGEST_ALLOWED_DIRS": "your-value",
        "SEARXNG_BASE_URL": "your-value",
        "BRAVE_SEARCH_API_KEY": "your-value",
        "TAVILY_API_KEY": "your-value",
        "EXA_API_KEY": "your-value",
        "READER_FALLBACK_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SEARCH_PROVIDERS env
    Comma-separated search provider order, for example duckduckgo,marginalia,bing
  • CACHE_DB_PATH env
    Path of the local SQLite database for cache, memory, and index
  • INGEST_ALLOWED_DIRS env
    Comma-separated directories whose files ingest_document may read; local file reading is off when unset
  • SEARXNG_BASE_URL env
    Base URL of a SearXNG instance with JSON output, used by the searxng provider
  • BRAVE_SEARCH_API_KEY 机密 env
    Optional Brave Search API key; the brave provider then uses the official API instead of scraping
  • TAVILY_API_KEY 机密 env
    Optional Tavily API key; adds the tavily provider with news-topic search and publish dates
  • EXA_API_KEY 机密 env
    Optional Exa API key; adds the exa provider with neural (semantic) web search
  • READER_FALLBACK_URL env
    Optional reader service (for example https://markdown.new/) used when a page cannot be fetched directly; sends the page URL to that service

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 kefyusuf 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5744 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5744 个服务器的 77% 更新
  • 基础检查结果等于或优于此分类中其他 5744 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Search Memory 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.0)于11天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 97.3万/周★ 6.4万前天更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.8万/周★ 4.8万22天前更新

在你的电脑上运行

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs广泛使用★ 52132个月前更新

在云端运行✓ exa.ai

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Search Memory MCP

Free web search and long-term memory for your AI assistant. No API keys. Your data stays on your machine.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any other MCP client.

Why Search Memory MCP?

  • 🔎 Search the web for free. DuckDuckGo, Bing, Brave, and Google, with automatic fallback. No API keys, no subscriptions.
  • 📄 Read any page as clean Markdown. Fast paths for GitHub, RSS, and static pages. PDF, DOCX and EPUB links are converted to text. A real browser only when a page needs it.
  • 🧠 Remember across sessions. Your assistant can save notes and recall them later.
  • 📚 Build a private knowledge base. Index pages and documents, then search them with keyword + semantic search and get answers with citations.
  • 🔁 Research that remembers. One research call checks what you already indexed, searches the web, reads the top pages, answers with citations, and keeps the pages for next time. Every source shows when it was published (from page or PDF metadata) and when it was fetched or indexed, so you can tell how current an answer is.
  • 🔒 Local first. Cache, memory, index, and models all run on your machine.
  • 🛡️ Safer with untrusted pages. Hidden text and invisible characters are removed from fetched pages, and web content is marked as data so the assistant is told not to follow instructions inside it. See SECURITY.md.

Quick start

Add this to your MCP client config (for example claude_desktop_config.json or .cursor/mcp.json):

{

"mcpServers": { "search-memory": { "command": "npx", "args": ["-y", "search-memory-mcp@latest"] } } }

Restart your client and ask: *"Search the web for the latest Node.js release and remember the version number."*

Search and most pages work right away. Pages that need a real browser use Playwright Chromium (about 180 MB). It is downloaded during install, or on first use if your package manager skipped install scripts, so that first request can take a few minutes. To download it ahead of time, run npx playwright install chromium. Model-backed features download small local models on first use.

Requires Node.js 20.9 to 25 (Node 24 recommended). If your Node version is newer, or npm skipped install scripts, the server prints the exact fix when it starts. You can also run it in Docker with nothing installed on your machine except Docker.

Run in Docker (no local setup)

Docker brings its own Node 24, SQLite module and Chromium, so it works whatever Node version you have. Point your MCP client at the published image (linux/amd64 and linux/arm64):

{

"mcpServers": { "search-memory": { "command": "docker", "args": ["run", "-i", "--rm", "-v", "search-memory-data:/app/data", "-v", "search-memory-models:/root/.cache/huggingface", "ghcr.io/kefyusuf/search-memory-mcp:latest"] } } }

Docker downloads the image on first start. Run docker pull ghcr.io/kefyusuf/search-memory-mcp:latest to update, or use a version tag such as :1.0 to stay on one release. To build the image yourself instead, run docker build -t search-memory-mcp . in a clone and use search-memory-mcp as the image name.

The named volumes keep your cache, memory, knowledge base and downloaded models between runs. To let ingest_document read local files, mount the folder and allow it, for example "-v", "/home/me/notes:/notes:ro", "-e", "INGEST_ALLOWED_DIRS=/notes".

Features

Search & fetch

  • Browser context pooling with a persistent Playwright browser instance.
  • Web search through configurable providers with health tracking and ordered fallback. Supported scrapers: DuckDuckGo, Bing, Brave, Google, Yahoo, Marginalia. Optional SearXNG meta-search provider (self-hosted or trusted public instance) via SEARXNG_BASE_URL, optional Brave Search API via BRAVE_SEARCH_API_KEY, optional Tavily (news-topic search with publish dates) via TAVILY_API_KEY, and optional Exa (neural/semantic discovery) via EXA_API_KEY.
  • Search responses report which providers were tried and why any failed, were empty, or were skipped (providerAttempts in structured output, a short "Provider notes" line in text output).
  • Search-result cache lifetime follows the query type: news 15 minutes; shopping, local and general 1 hour; technical, research and navigational 24 hours.
  • fetch_content and index_url extract text from PDF, DOCX and EPUB responses (detected by content type, or by extension for generic binary responses), up to 25 MB per document, without opening a browser.
  • Federated search across providers with URL normalization, cross-provider deduplication, and Reciprocal Rank Fusion (RRF).
  • Opt-in intent-aware search routing (strategy=auto) with heuristics, local classifier fallback, and versioned provider profiles.
  • Domain filter (domain) and date-range filter (from_date / to_date).
  • Query rewrite for local-index searches and opt-in web multi-query expansion (expand_query=true): abbreviation expansion, question normalization, and news year bias.
  • Optional cross-encoder reranking (ENABLE_RERANKER).
  • Deep-search answers with paragraph/sentence term scoring, stopword filtering, and per-source citations.
  • Structured JSON output (format: "json") for machine-readable search results and answers. web_search, search_index and server_status also declare an MCP outputSchema and return structuredContent on every successful call.

Local knowledge base (RAG)

  • Document chunking (paragraph-first with overlap).
  • Hybrid retrieval: FTS5 keyword search + sqlite-vec semantic search fused with RRF. Degrades to FTS-only when embeddings are unavailable.
  • ingest_document, index_url, search_index, and list_index tools for building a citable local corpus.
  • Entity graph over indexed documents with find_related (related docs + co-occurring entities).

Memory & observability

  • Session memory (remember / recall / forget) with topic, tags, and session scoping.
  • Per-search execution traces (stages, timings, cache). Recent searches surface in server_status; TRACE_SEARCHES=true logs full traces.
  • Retrieval eval harness (npm run eval:retrieval) with recall@k, precision@k, and MRR.

Safety & infrastructure

  • HTTP-first page fetching with GitHub Raw and RSS fast paths plus Playwright fallback.
  • SSRF protection for fetch_content and index_url by blocking localhost and private network targets.
  • Token-bucket rate limiting for search and fetch tools.
  • Semantic cache backed by SQLite and sqlite-vec, namespaced per execution strategy/plan.

Requirements

  • Node.js 20.9.0 or newer.
  • Node.js 24 is the development baseline (.nvmrc); CI uses the same version. After switching Node versions, reinstall dependencies so native modules such as better-sqlite3 match the active runtime.
  • npm.
  • Network access during installation for npm packages, Playwright Chromium, and first-run model downloads.

Installation

npm install

npm run build

The postinstall script downloads Playwright Chromium. On first use of model-backed features, Transformers.js downloads the required model files to the local Hugging Face cache. The first request that loads a model can be slow; later requests reuse the local cache. Keep ENABLE_CROSSLINGUAL=false and ENABLE_RERANKER=false for the lightest first run. Obvious strategy=auto intents are resolved by heuristics without loading the intent classifier; ambiguous auto queries may trigger a first-run classifier download.

MCP Client Configuration

Add the built server to your MCP client config:

The package, command and MCP server identity are search-memory-mcp. Use your actual checkout path in the configuration below. Existing clients that launch node with an absolute build/index.js path can keep that path even if the checkout directory still has its previous name. Restart the MCP connection after rebuilding to load the updated server identity. Keep existing CACHE_DB_PATH values to retain stored data.

{

"mcpServers": { "websearch": { "command": "node", "args": ["path/to/search-memory-mcp/build/index.js"], "env": { "RATE_LIMIT_SEARCH_PER_MIN": "10", "RATE_LIMIT_FETCH_PER_MIN": "20", "ENABLE_CROSSLINGUAL": "false" } } } }

If the package is installed globally or through a package runner, use the binary entrypoint:

{

"mcpServers": { "websearch": { "command": "search-memory-mcp", "args": [], "env": { "ENABLE_CROSSLINGUAL": "false" } } } }

To use the Brave Search API, add "BRAVE_SEARCH_API_KEY": " " to the same env object. Leave SEARCH_PROVIDERS unset so the default order (brave,duckduckgo,marginalia,bing with a key) applies; an explicit SEARCH_PROVIDERS replaces it. On Windows, Claude Desktop reads %APPDATA%\Claude\claude_desktop_config.json; restart the app fully after editing it.

For package-runner based clients, use the npx configuration from Quick start.

Tools

ToolDescription
web_searchSearches the web and returns ranked results. Supports strategy (fallback/aggregate/auto), domain, from_date/to_date, format (text/json), and deep=true for source-backed answers.
fetch_contentFetches a URL and returns clean Markdown with content caching, charset handling, GitHub Raw fast paths, RSS feed extraction, and Playwright fallback.
researchResearches a question in one call: checks the local knowledge base, searches the web, reads the top pages (max_sources, default 3), answers with citations from both, and adds the pages it read to the knowledge base (index=false to skip; sources already indexed are not added again).
server_statusReturns provider availability, cache stats, knowledge index stats, memory stats, entity graph stats, recent search traces, browser state, routing profile metadata, feature flags, and uptime.
ingest_documentChunks a document and indexes it into the local knowledge base (FTS + vectors) and entity graph. Pass content, or path to a local PDF, DOCX, EPUB, HTML or text file inside INGEST_ALLOWED_DIRS.
index_urlFetches a URL and indexes its Markdown into the local knowledge base and entity graph.
search_indexHybrid keyword + semantic search over the local knowledge base; returns chunks with source citations. Supports format: "json".
list_indexLists documents stored in the local knowledge base.
rememberStores a short fact or note in session memory.
recallSearches or lists session memory notes.
forgetDeletes a session memory note by id.
find_relatedExplores the entity graph: related documents and co-occurring entities for an entity name.
Search strategies
StrategyBehaviorSemantic query cache
fallback (default)Tries configured providers in order and stops at the first usable result set.Enabled (namespace: fallback)
aggregateQueries all currently available configured providers in parallel, deduplicates URLs, and fuses rankings with RRF.Enabled (namespace: aggregate)
autoDetects intent, builds a routing plan from profile v2, then delegates to the existing fallback/aggregate executor.Enabled (namespace: auto:{profile}:{intent}:{providers})

Semantic query cache keys are namespaced by execution strategy (and by plan fingerprint for auto), so a cached fallback result is never reused for aggregate or a different auto plan. Deep-search page content continues to use the normal content cache

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx