ainative-opencode-memory-mcp
io.github.AINative-Studio · Updated
Persistent cross-session memory for OpenCode and MCP coding agents, powered by ZeroDB.
At a glance
ainative-opencode-memory-mcp is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y ainative-opencode-memory-mcp`, and declares no required credentials. It exposes 5 tools, including opencode_store_memory, opencode_search_memory and opencode_recall_context. It scores A (81/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install ainative-opencode-memory-mcp in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install ainative-opencode-memory-mcp in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add ainative-opencode-memory-mcp -- npx -y ainative-opencode-memory-mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. opencode_store_memory, opencode_search_memory, opencode_recall_context). It discovers them automatically.
How to install ainative-opencode-memory-mcp in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "ainative-opencode-memory-mcp": { "command": "npx", "args": [ "-y", "ainative-opencode-memory-mcp" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install ainative-opencode-memory-mcp in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "ainative-opencode-memory-mcp": { "command": "npx", "args": [ "-y", "ainative-opencode-memory-mcp" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install ainative-opencode-memory-mcp in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.ainative-opencode-memory-mcp] command = "npx" args = ["-y", "ainative-opencode-memory-mcp"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install ainative-opencode-memory-mcp in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "ainative-opencode-memory-mcp": { "command": "npx", "args": [ "-y", "ainative-opencode-memory-mcp" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install ainative-opencode-memory-mcp in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "ainative-opencode-memory-mcp": { "command": "npx", "args": [ "-y", "ainative-opencode-memory-mcp" ] } } }
How to install ainative-opencode-memory-mcp in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "ainative-opencode-memory-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "ainative-opencode-memory-mcp" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does ainative-opencode-memory-mcp expose? (5)
Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.
- opencode_store_memoryRemember a fact/decision/snippet (optional tags)
- opencode_search_memorySemantic search over everything remembered
- opencode_recall_contextReload relevant memories at the start of a task
- opencode_memory_statsHow many memories are stored
- opencode_clear_memoryWipe memories (optionally by tag)
What the code can do
Read from the published package source — never executed. Parsed 1 of 1 source file.
This server can read and write files, read your environment variables and read system information.
How it was published
- No provenance attestation — there is nothing linking this published artifact to a specific source commit.
- 1 npm maintainer — a single point of compromise · last published by ainative-studio.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit 2 months ago — Actively maintained.
- Repository created 2 months ago — Very new project with little track record yet.
- 0 GitHub stars — Very little community usage so far.
- 36 weekly downloads — Very few installs — you would be an early user.
Client compatibility
Health score
A · 81Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%92%
Last commit 87 days ago.
- Adoption20%18%
0 stars, 36 weekly downloads.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.1.2).
Documentation
Full READMEainative-opencode-memory-mcp
Persistent memory for [OpenCode](https://opencode.ai) agents. OpenCode is stateless — it forgets everything between sessions. This MCP server gives your OpenCode coding agent long-term memory powered by AINative ZeroDB: store a codebase's decisions, conventions, and gotchas once, and recall them in every future session.
Why
OpenCode restarts with a blank slate every time. Your agent re-learns your architecture, re-asks the same questions, re-makes the same mistakes. With this MCP, it remembers:
- Architecture & design decisions
- Naming conventions and code style
- Gotchas, workarounds, and "don't touch X" rules
- User/team preferences
Install
npm install -g ainative-opencode-memory-mcpSetup (OpenCode)
- Get a free API key → ainative.studio/signup (Hobbyist $5/mo, 7-day free trial).
- Add to your OpenCode MCP config (
opencode.json/ MCP settings):
{
"mcpServers": {
"ainative-memory": {
"command": "npx",
"args": ["-y", "ainative-opencode-memory-mcp"],
"env": { "AINATIVE_API_KEY": "your-key-here" }
}
}
}Tools
| Tool | What it does | |------|--------------| | opencode_store_memory | Remember a fact/decision/snippet (optional tags) | | opencode_search_memory | Semantic search over everything remembered | | opencode_recall_context | Reload relevant memories at the start of a task | | opencode_memory_stats | How many memories are stored | | opencode_clear_memory | Wipe memories (optionally by tag) |
Example
At the start of a session, have your agent call opencode_recall_context with the file/task you're working on — it reloads what it knew. As you work, opencode_store_memory captures new decisions. Next session, it all comes back.
Alternatives to ainative-opencode-memory-mcp
- memory-poisoning-scannerA · 83Scans agent code for untrusted input poisoning persistent cross-session memory
- memory-poisoning-scannerA · 83Scans agent code for untrusted input poisoning persistent cross-session memory
- codeagent-memoryB · 66Local code graph and solution memory for coding agents via CLI and MCP.
- collective-memoryB · 70MCP server for persistent, semantic memory across AI sessions
Maintain ainative-opencode-memory-mcp? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-ainative-studio-ainative-opencode-memory-mcp)Catalog data refreshed . Something wrong? Report it.