TeleMem
Lets your AI agent keep long-term memory of conversations, with separate profiles per character and video memory.
493 stars on GitHubby TeleAI-UAGILicense Apache-2.0Updated 21 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add telemem -- uvx telemem
What to fill in
| Name | What it is | Required |
|---|---|---|
OPENAI_API_KEY | API key for the default OpenAI LLM/embedder (not needed with a local TELEMEM_CONFIG) | No |
TELEMEM_CONFIG | Path to a TeleMem YAML/JSON config, e.g. the fully-local Ollama + FAISS setup (config/config.ollama.yaml) | No |
TELEMEM_DEFAULT_USER_ID | Default memory scope when tool calls omit user_id/agent_id/run_id (default: telemem-mcp) | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Remember that Anna prefers tea and that Mark is allergic to nuts.
What do you remember about Anna from our earlier chats?
What it is
TeleMem is a memory layer for AI agents that stores and finds facts from long conversations. It builds separate memory profiles for each character, which suits role-play and companion apps. It can also store and answer questions about video content, and it works as a replacement for Mem0.
What it can do
- Store memories from conversations with character-aware summaries
- Search memories by meaning
- Merge similar memories to reduce duplicates
- Video memory: frames, captions and question answering
- 8 memory tools exposed through the MCP server
When to use
- βΊWhen you build a role-play or companion AI that must remember each character separately
- βΊWhen you want an agent to remember details across very long conversations
- βΊWhen you want an agent to answer questions about video content
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
conversation-memoryHelps your agent remember past conversations. It creates short-term and long-term memory so the agent can maintain context in long dialogues.agent-memory-systemsHelps plan how the agent will store and use information. It's useful for creating systems that remember conversations or important data for a long time.rememberHelps your agent save an insight, decision, or fact to long-term memory with search tags, so it can find it in later sessions.Frequently asked questions
Is it free and open source?
Yes. The readme says there is no paid tier and the project is open source.
Does my data leave my machine?
By default it runs fully local with Qwen and FAISS. The readme says telemetry is disabled by default.
Can it replace Mem0?
The readme says you can swap it in with import telemem as mem0, because add() and search() take the same arguments.
How do I start the MCP server?
Run uvx telemem, or install it with pip install telemem.
How accurate is it?
The readme reports 86.33% on the ZH-4O Chinese long-dialogue benchmark, which it says is 19% higher than Mem0.
Where is memory stored?
In a FAISS index and human-readable JSON metadata.
If it does not work
- βΊCheck that Python is installed, or install uv if you use uvx.
- βΊCheck the provider settings in the MCP docs if you use a cloud model instead of the local one.
- βΊRestart your AI app fully after adding the server.
5 new skills a week. 1 minute to read.