Opencode Cribsheet
MCP server by georgeharker Verified · npm:@geohar
Runs the cribsheet memory and code-index MCP server inside OpenCode, with a /crib command and a directive that keeps the agent reaching for stored memory. Aimed at developers who want durable, searchable notes and code lookups shared across tools.
Install Opencode Cribsheet
Built from the published package, never by AI.
claude mcp add opencode-cribsheet -- npx -y @geohar/opencode-cribsheetRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"opencode-cribsheet": {
"args": [
"-y",
"@geohar/opencode-cribsheet"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"opencode-cribsheet": {
"args": [
"-y",
"@geohar/opencode-cribsheet"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"opencode-cribsheet": {
"args": [
"-y",
"@geohar/opencode-cribsheet"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add opencode-cribsheet -- npx -y @geohar/opencode-cribsheet{
"mcpServers": {
"opencode-cribsheet": {
"args": [
"-y",
"@geohar/opencode-cribsheet"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add opencode-cribsheet npx -y @geohar/opencode-cribsheetGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the opencode-cribsheet block.
About
This OpenCode plugin starts the cribsheet MCP server through sharedserver, registers its endpoint on port 7732, adds the reach-for-crib directive, and provides the /crib command. Cribsheet stores notes as plain markdown on disk and builds a semantic index from them. It also indexes code symbols with generated descriptions and a call graph, and it tracks design decisions and plan items as a dependency graph.
The plugin is for developers who use OpenCode and want memory that persists across sessions and is shared across agents and tools. If another combiner already serves crib, the plugin stands down and registers nothing, while still providing the /crib command and the directive.
Written from the project's README and checked against it.
Tools it gives your assistant
note lookupFinds stored notes by meaning, using semantic and keyword search. CLI verb mirrored by an MCP tool.note storeSaves a fact, convention or gotcha as a markdown note in a chosen project.code lookupFinds a code symbol by concept or name across indexed repositories.code dossierShows everything the index holds about one symbol.code graphWalks the call graph to show what calls a symbol and what it calls.learning addPins a durable learning to a code symbol.design checkReports which design decisions a change has put out of date, and why.plan nextShows the next plan item, so work can resume in this session or a later one.project setupIndexes a repository's code and docs in one call.
What you need
- OpenCode
- curl
- uv
Try asking
- Store a note that the staging database uses port 5433
- Look up how we handle retries in the payment service
- Show me what calls reciprocal_rank_fusion in this repo
Good to know
- MCP_COMBINER and MCP_COMBINER_SERVES_CRIBSHEET is a global switch, not per session.
- A change to the combiner switch applies only in the next session.
- The torch embedder is an extra install with host-specific wheels.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Opencode Cribsheet
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Opencode Cribsheet: common questions
Does the plugin need crib or sharedserver installed first?
No. The source says the plugin fetches sharedserver and crib on first use if they are not already on PATH. Existing installs are used as they are.
What happens if I already run crib through an aggregator?
Set MCP_COMBINER=1 and MCP_COMBINER_SERVES_CRIBSHEET=0 so the plugin registers no second copy. You still get the /crib command and the directive.
Where are the notes stored?
Notes are plain markdown files on disk that the user owns. The source says the vector index is a derived cache that can be rebuilt from those files.
How do I install Opencode Cribsheet?
In Claude Code run claude mcp add opencode-cribsheet -- npx -y @geohar/opencode-cribsheet. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Opencode Cribsheet the official server?
Opencode Cribsheet is published by npm:@geohar from its verified domain in the official MCP Registry.
Is Opencode Cribsheet free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Opencode Cribsheet safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Opencode Cribsheet?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Opencode Cribsheet work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
