Back to MCP Servers
🧩

Search Memory MCP Server

API key required

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

To add Search Memory to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 8 environment variables, listed below.

SearchAIAPI

Install

npx -y search-memory-mcp@1.2.0

Environment variables

SEARCH_PROVIDERSSet in your MCP config
CACHE_DB_PATHSet in your MCP config
INGEST_ALLOWED_DIRSSet in your MCP config
SEARXNG_BASE_URLSet in your MCP config
BRAVE_SEARCH_API_KEYSet in your MCP config
TAVILY_API_KEYSet in your MCP config
EXA_API_KEYSet in your MCP config
READER_FALLBACK_URLSet in your MCP config

Install with your client

Terminal
claude mcp add search-memory --env SEARCH_PROVIDERS=<YOUR_SEARCH_PROVIDERS> --env CACHE_DB_PATH=<YOUR_CACHE_DB_PATH> --env INGEST_ALLOWED_DIRS=<YOUR_INGEST_ALLOWED_DIRS> --env SEARXNG_BASE_URL=<YOUR_SEARXNG_BASE_URL> --env BRAVE_SEARCH_API_KEY=<YOUR_BRAVE_SEARCH_API_KEY> --env TAVILY_API_KEY=<YOUR_TAVILY_API_KEY> --env EXA_API_KEY=<YOUR_EXA_API_KEY> --env READER_FALLBACK_URL=<YOUR_READER_FALLBACK_URL> -- npx -y search-memory-mcp@1.2.0

Run this in a terminal to add the server to Claude Code.

What this does

Search Memory exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

SEARCH_PROVIDERS
CACHE_DB_PATH
INGEST_ALLOWED_DIRS
SEARXNG_BASE_URL
BRAVE_SEARCH_API_KEY
TAVILY_API_KEY
EXA_API_KEY
READER_FALLBACK_URL

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Search Memory?

Run the Claude Code command in the install section to add Search Memory to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Search Memory?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Search Memory as well.

Does Search Memory need an API key?

Yes. Before it can run, set these environment variables: SEARCH_PROVIDERS, CACHE_DB_PATH, INGEST_ALLOWED_DIRS, SEARXNG_BASE_URL, BRAVE_SEARCH_API_KEY, TAVILY_API_KEY, EXA_API_KEY, READER_FALLBACK_URL. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-kefyusuf-search-memory-mcp)](https://clauderules.net/mcp/io-github-kefyusuf-search-memory-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-kefyusuf-search-memory-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-kefyusuf-search-memory-mcp" alt="Listed on clauderules.net" /></a>