Ainative Opencode Memory Mcp

io.github.AINative-StudioPublished by GitHub account AINative-Studiov0.1.2Updated Oct 24, 2026

Persistent cross-session memory for OpenCode and MCP coding agents, powered by ZeroDB.

The publisher's own server: Memory.fit

VerifiedSTDIODesktop onlyKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

A local MCP server that gives OpenCode coding agents persistent, searchable long-term memory of a codebase's decisions, conventions and gotchas via AINative's A

What you can do
Store facts, decisions and snippets as memories, optionally tagged, for later sessions. Search stored memories semantically. Recall relevant context at the start of a task or session. Check how many memories are stored. Clear memories, optionally filtered by tag.
When to use it
Useful when working with an OpenCode coding agent across many sessions and wanting it to remember architecture decisions, naming conventions, workarounds and team preferences instead of re-learning them each time.
Requirements
Runs locally over stdio, typically via npx, so Node.js is needed. Requires an AINative API key supplied in the AINATIVE_API_KEY environment variable; the README mentions a paid Hobbyist plan with a 7-day free trial. Optional OPENCODE_MEMORY_NAMESPACE and AINATIVE_API_URL variables set the memory namespace and API endpoint. Network access to the AINative API is needed.
Before you install
The AINATIVE_API_KEY credential is required and must be kept secret. The service is described as paid after a trial, so costs may apply. Stored memories are sent to AINative's ZeroDB service, a third party, so avoid saving secrets or sensitive code. The clear-memory tool deletes stored memories, optionally by tag.

Installation

In SourceWeft

  1. Open Ainative Opencode Memory Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

ainative-opencode-memory-mcp

Persistent memory for OpenCode 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

bash
npm install -g ainative-opencode-memory-mcp

Setup (OpenCode)

  1. Get a free API key → ainative.studio/signup (Hobbyist $5/mo, 7-day free trial).
  2. Add to your OpenCode MCP config (opencode.json / MCP settings):
json
{  "mcpServers": {    "ainative-memory": {      "command": "npx",      "args": ["-y", "ainative-opencode-memory-mcp"],      "env": { "AINATIVE_API_KEY": "your-key-here" }    }  }}

Tools

ToolWhat it does
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)

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.

Environment

VarDefaultNotes
AINATIVE_API_KEY—Required. Free at ainative.studio
OPENCODE_MEMORY_NAMESPACEopencodeIsolate memories per project
AINATIVE_API_URLhttps://api.ainative.studioOverride for self-host

Built by AINative Studio — the AI-native dev platform with 65+ models, one OpenAI-compatible endpoint, and persistent agent memory. MIT licensed.

Source: README.md at commit 745bb37

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Memory integrations