MemFlow MCP
Enables Large Language Models to store and retrieve persistent memories with intelligent search capabilities.
memflow-mcp
A Model Context Protocol (MCP) server that enables Large Language Models to store and retrieve persistent memories with intelligent search capabilities.
Description
MemFlow MCP provides seamless integration between LLMs like Claude and your Memory Bank API, allowing for persistent memory management across conversations. The server supports adding memories with tags, semantic search, and flexible memory retrieval.
Installation
npx memflow-mcp
Or install globally:
pnpm add -g memflow-mcp
Configuration
Environment Variables
MEMBANK_API_URL=http://localhost:3000
MEMBANK_API_KEY=your-api-key  # optional
Claude Desktop
See CLAUDE_DESKTOP_CONFIG.md for detailed configuration options for different Node.js installations.
Quick start - Find your npx path and use it:
which npx
Then configure Claude Desktop:
{
  "mcpServers": {
    "memflow": {
      "command": "/your/npx/path",
      "args": ["-y", "memflow-mcp"],
      "env": {
        "MEMBANK_API_URL": "http://localhost:3000"
      }
    }
  }
}
Available Tools
- addMemory - Store content with optional tags
- searchMemory - Search memories with semantic matching
- listMemories - Browse stored memories with filtering
Usage
Once configured, you can use these commands in Claude:
Add this to memory: "Claude can now remember things across conversations"
Search my memories for "conversations"
List my recent memories
Requirements
- Node.js 18+
- Memory Bank API server running
Troubleshooting
"spawn npx ENOENT" Error
- 
Find your npx path: which npxUse this full path in your Claude Desktop config. 
- 
Common paths: - asdf: /Users/username/.asdf/shims/npx
- Homebrew (Intel): /usr/local/bin/npx
- Homebrew (Apple Silicon): /opt/homebrew/bin/npx
- System: /usr/bin/npx
 
- asdf: 
- 
Test it works: /your/npx/path -y memflow-mcp
"Unexpected token" JSON Errors
- Ensure MEMBANK_API_URLis set correctly
- Check that your Memory Bank API is running
- Restart Claude Desktop after config changes
API Endpoints
Your Memory Bank API should support:
- POST /memory- Create memory
- GET /memory- List/search memories
License
MIT
Related Servers
- Prometheus MCP Server- A Prometheus MCP server with full API support for comprehensive management and deep interaction with Prometheus beyond basic query support. Written in go, it is a single binary install that is capable of STDIO, SSE, and HTTP transports for complex deployments. 
- SET-MCP- Access financial statements, including income, balance sheets, and cash flow, for companies listed on the Securities Exchange of Thailand (SET). 
- MariaDB / MySQL- Provides access to MariaDB and MySQL databases for querying and data manipulation. 
- CData EnterpriseDB MCP Server- A read-only MCP server by CData that enables LLMs to query live data from EnterpriseDB databases. 
- Library MCP- A local server to query and interact with Markdown knowledge bases by tags, text, slug, or date. 
- Pinterest by CData- A read-only MCP server for querying live Pinterest data, powered by the CData JDBC Driver. 
- Space Frontiers- Interfaces with the Space Frontiers API, enabling language models to interact with its data sources. 
- Simple Loki MCP Server- Query Grafana Loki logs using logcli with an automatic fallback to the HTTP API. 
- Crunchbase- Access Crunchbase data for business information and insights. Requires a Crunchbase API key. 
- SQLAlchemy ODBC- An MCP server for connecting to any ODBC-compliant database via SQLAlchemy, supporting various DBMS backends.