Install a Mem in Claude Code
claude mcp add a-mem -e OPENAI_API_KEY=... -- uvx a-mem{
"mcpServers": {
"a-mem": {
"command": "uvx",
"args": [
"a-mem"
],
"env": {
"OPENAI_API_KEY": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the a Mem MCP server do?
Self-evolving memory system for AI agents
Is the a Mem MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does a Mem run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add a Mem to Claude Code?
Run: claude mcp add a-mem -e OPENAI_API_KEY=... -- uvx a-mem
More knowledge, memory & rag MCP servers
View allContext7
upstash/context7
Up-to-date code documentation for LLMs and AI code editors.
Hindsight
vectorize-io/hindsight
Hindsight: long-term memory for AI agents modeled on human memory.
Cognee
topoteretes/cognee/cognee-mcp
Memory manager for AI apps and agents using graph and vector stores, with ingestion from many data sources.
Mastra/mcp-docs
mastra-ai/mastra
Provides AI assistants with direct access to Mastra.ai's complete knowledge base.
Skill Seekers
yusufkaraaslan/Skill_Seekers
Turn docs, GitHub repos, PDFs, videos, Confluence, Notion and Slack/Discord into AI skills and RAG knowledge, exportable to vector databases like Qdrant.
AWS Bedrock KB Retrieval
awslabs/mcp
Query Amazon Bedrock Knowledge Bases using natural language to retrieve relevant information from your data sources.