Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Persistent memory for AI coding agents. #1 on LongMemEval. Local-first.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"core": {
"command": "uvx",
"args": [
"omega-memory"
]
}
}
}在终端中运行这条命令
claude mcp add core -- uvx omega-memory粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"core": {
"command": "uvx",
"args": [
"omega-memory"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"core": {
"type": "stdio",
"command": "uvx",
"args": [
"omega-memory"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 omega-memory 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.9.3)于9个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Cross-model memory for AI agents. Local-first. Works with Claude, GPT, Gemini, Cursor, Claw Code, and any MCP client. Your agent's brain shouldn't live on someone else's server, or be locked to one provider.
AI coding agents are stateless. Every new session starts from zero. The "solutions" either lock you into one model provider or send your codebase context to their cloud.
OMEGA solves this. Memory, coordination, and learning that runs entirely on your machine. Works with every major LLM and coding agent. No cloud. No API keys. No vendor lock-in.
OMEGA needs Python 3.11 or newer. Check with python3 --version: macOS ships Python 3.9, which is too old. If pip answers No matching distribution found for omega-memory, that is the reason; install a newer Python first (for example brew install python@3.12, or from python.org).
Install OMEGA into its own environment. Homebrew's Python refuses a plain pip install (PEP 668), and an isolated install keeps OMEGA's dependencies away from your projects. Pick one:
# pipx
pipx install "omega-memory[server]"
uv tool install "omega-memory[server]"
python3.12 -m venv ~/.venvs/omega # any Python 3.11 or newer ~/.venvs/omega/bin/pip install "omega-memory[server]" export PATH="$HOME/.venvs/omega/bin:$PATH"
Keep the quotes around "omega-memory[server]": zsh, the default macOS shell, treats bare square brackets as a pattern and fails. The [server] extra installs the MCP server, which also runs the hook daemon; without it Claude Code gets no OMEGA tools and no hooks.
Then:
omega setup # downloads the embedding model, registers the MCP server, installs hooks
omega doctor # checks every step, and names the fix for anything that failed
omega setup --dry-run shows what setup would change without writing or downloading anything.
omega setup --client claude-desktop
This registers OMEGA as an MCP server in Claude Desktop's config. Restart Claude Desktop to activate.
omega setup --client cursor # or: windsurf, cline, codex, antigravity
Codex and Antigravity get their config file written; for the others setup prints the JSON block to paste. For any other MCP client, omega setup --client venv prints the command and arguments to use. Hooks (automatic capture and surfacing) are available with Claude Code only.
Library-only install (no MCP server)
If you only need OMEGA as a Python library for scripts, CI/CD, or automation, install it into your project's environment:
pip install omega-memory # Core only, no MCP server
from omega import store, query, remember
store("Always use TypeScript strict mode", "user_preference") results = query("TypeScript preferences")
This gives you the full storage and retrieval API without running an MCP server. Hooks need the MCP server (the hook daemon runs inside it), so a library-only install has no automatic capture or surfacing.
git clone https://github.com/omega-memory/omega-memory.git
cd omega-memory python3.12 -m venv .venv && source .venv/bin/activate pip install -e ".[server,dev]" omega setup
omega setup will:
~/.omega/ (or $OMEGA_HOME if you set it)~/.cache/omega/models/omega-memory as an MCP server (Claude Code auto-detected, or specify --client)~/.claude/settings.json~/.claude/CLAUDE.mdIf a step fails, the summary marks it [FAIL] with the reason and setup exits with an error.
OMEGA works through natural language — no API calls, no configuration. Just talk to Claude.
1. Tell Claude to remember something:
"Remember that the auth system uses JWT tokens, not session cookies"
Claude stores this as a permanent memory with semantic embeddings.
2. Close the session. Open a new one.
3. Ask about it:
"What did I decide about authentication?"
OMEGA surfaces the relevant memory automatically:
Found 1 relevant memory:
[decision] "The auth system uses JWT tokens, not session cookies" Stored 2 days ago | accessed 3 times
That's it. Memories persist across sessions, accumulate over time, and are surfaced automatically when relevant — even if you don't explicitly ask.
| Feature | OMEGA | Anthropic Memory | Mem0 | Zep |
|---|---|---|---|---|
| Works with any LLM/agent | Yes | Claude only | Yes | Yes |
| Your data stays on your machine | Yes | Partial* | No | No |
| No cloud dependency | Yes | No (needs API) | No | No |
| Semantic search + knowledge graph | Yes | No (file CRUD) | $249/mo | Yes |
| Multi-agent coordination | Yes *(pro)* | Research preview | No | No |
| Works with Claude Code, Cursor, Claw Code | Yes | Claude only | Partial | No |
| Free & open source | Yes (Apache 2.0) | No | Freemium | Freemium |
*Anthropic's Memory Tool stores data client-side but requires Claude API calls for all memory operations. OMEGA runs entirely on-device, including embeddings (ONNX).*
Anthropic Memory is for Anthropic. OMEGA is for everyone.
Claude Code · Cursor · Claw Code · Any MCP Client
│ │ │ │ └─────────┴─────┬───┴──────────────┘ │ stdio/MCP ┌───────────────▼─────────────┐ │ OMEGA MCP Server │ │ core memory tools │ └──┬──────────────────┘ │ ┌────────▼──────────────┐ │ Core Memory Engine │ │ (semantic search, │ │ embeddings, graphs) │ └─────┬─────────────────┘ │ ▼ ┌──────────────────────────────────────┐ │ omega.db (SQLite) │ │ memories | edges | embeddings │ └──────────────────────────────────────┘
Single database, modular handlers. Optional modules (coordination, router, entity, knowledge, profile) are available with OMEGA Pro and register into the same server process. No separate daemons, no microservices.
OMEGA runs as an MCP server inside Claude Code. By default it shows the client five tools (omega_store, omega_welcome, omega_protocol, omega_tools, omega_call) to save context: omega_tools lists everything available and omega_call runs any of it. Set OMEGA_CONDENSED=0 in the server's environment to expose every tool directly.
| Tool | What it does |
|---|---|
omega_store | Store a memory (decision, lesson, error, preference, ...) |
omega_query | Search memories: semantic, exact phrase, timeline, or browse |
omega_welcome | Session briefing: recent context, reminders, profile |
omega_protocol | Operating rules for the session |
omega_checkpoint | Save task state for cross-session continuity |
omega_resume_task | Resume a checkpointed task |
omega_memory | Edit, delete, supersede, rate, or link one memory; find similar ones |
omega_profile | Read or update the user profile and preferences |
omega_remind | Set, list, or dismiss time-based reminders |
omega_maintain | Health, consolidation, compaction, backup and restore |
omega_stats | Type breakdown, session stats, weekly digest |
omega_reflect | Find contradictions; trace how a topic's decisions evolved |
omega_review | Review a diff with memory of your codebase's conventions |
context_packet | Compact, task-aware memory packet for the current work |
omega_consult_gpt, omega_consult_claude | Ask another model for a second opinion (needs your own API key for that provider) |
OMEGA Pro adds coordination, routing, entity, knowledge base, and profile tools.
| Command | Description |
|---|---|
omega setup | Create dirs, download model, register MCP, install hooks (--dry-run to preview) |
omega doctor | Verify installation health |
omega hooks setup / omega hooks doctor | Install or check the Claude Code hooks only |
omega status | Memory count, store size, model status |
omega query | Search memories by semantic similarity |
omega store | Store a memory with a specified type |
omega remember | Store a permanent preference |
omega timeline | Show memory timeline grouped by day |
omega activity | Show recent session activity overview |
omega stats | Memory type distribution and health summary |
omega consolidate | Deduplicate, prune, and optimize memory |
omega compact | Cluster and summarize related memories |
omega backup | Back up omega.db (keeps last 5) |
omega validate | Validate database integrity |
omega logs | Show recent hook errors |
omega migrate-db | Migrate legacy JSON to SQLite |
omega serve | Run the MCP server (omega serve --help for the HTTP daemon) |
Core is free and open source. On the free tier, once the store holds 2,000 memories search switches from semantic search to a plain text match, and new memories stop being stored at 5,000. omega status shows where
只显示了开头部分;其余内容请在仓库中阅读