Project memory your coding agents can trust and fix
claude mcp add sinapsi --transport http https://sinapsi.wiki/mcp/ \
--header "Authorization: Bearer YOUR_TOKEN"
The exact command, with your token, is generated in the
app (Spaces → "Build a wiki with your assistant"). Add -s user to make
it available in every project.
The problem, in developers' own words
- Stale memory looks authoritative. "Stale documentation doesn't look stale. It looks authoritative," as one post on DEV puts it. A retry count saved as 3 stays 3 after a review sets it to 1, and a shared memory spreads the old value to every agent.
- Agents save the wrong things. "Models are good at executing once context is right, but bad at deciding what deserves to persist" (Ask HN). One-off decisions and transient errors end up in memory; duplicates make retrieval worse.
- Every tool and every machine has its own memory. Claude Code's auto memory is local and not shared across machines; Cursor's rules are not read by Copilot. Behaviour drifts between laptops.
How it works
1 · The agent gets the page rules
how_to_build_wiki tells
the agent how a page is built: anchored sections, links between pages, dated
provenance. Then create_space and write_page. The
result is a wiki with a format you can review, not a heap of notes.
2 · Retrieval returns whole sections
search returns the
relevant sections, whole and citable; get_page opens a page;
neighbors follows the links written between pages. The agent loads
what the task needs instead of a memory file loaded on every session.
3 · Validate or correct with confirm_use
After using sections, the agent calls
confirm_use(worked=true), and those sections weigh more, or
worked=false with the correction. The wrong section is superseded,
kept in the history, and the fix reaches every later answer, for every agent on
the space.
4 · Dead ends are first-class
The failed debug path, the library
that was dropped, the workaround that breaks something else: written as frontier
notes with the date and the reason, returned with the answer. It is the half of
project knowledge a CLAUDE.md usually does not hold.
CLAUDE.md or Sinapsi?
Both. Anthropic's guidance is to keep CLAUDE.md short — long files
reduce adherence and imports do not reduce context cost. Keep rules and commands
there, or in AGENTS.md. Put in Sinapsi the knowledge that grows: real
causes of bugs, architecture decisions, dead ends. One line in
CLAUDE.md tells the agent to search the space before changing a
subsystem and to call confirm_use afterwards.
Connect any client
The endpoint is the same everywhere — https://sinapsi.wiki/mcp/,
Streamable HTTP, with a Bearer token or OAuth. Only the transport key changes:
url in Cursor, serverUrl in Windsurf,
"type": "streamableHttp" in Cline, servers in
.vscode/mcp.json for Copilot, httpUrl in Gemini CLI's
settings.json. ChatGPT connects in Developer mode with OAuth. From
code, the Claude API's MCP connector and the OpenAI Responses API take the same URL
and token. There is also a REST API on /api/v1 with the same account
token and an OpenAPI schema. Full snippets are on the
Developers page.
For teams
One token per agent or per person, revocable in the app. Roles: query (read and ask), expand (write), manage. Guests see only the sections granted. When one person's agent records a correction, everyone else's agent stops repeating the mistake.
Security and data
Private spaces always require authentication. Data is stored on OVHcloud in
Milan, backups on Google Cloud in Milan (europe-west8); the operator is Salesmart
S.r.l., Italy. No person at Sinapsi reads private content and it is never used for
training. Requests are rate-limited per token and IP (HTTP 429 with
Retry-After). The sections your agent reads are sent to the model
provider that runs the agent, as with any MCP server.
Compared with what you may be using
- Claude Code's CLAUDE.md and auto memory are free, built in, and versioned with the repo (CLAUDE.md). For a solo project, they may be enough.
- GitHub Copilot Memory is the closest idea: repository facts that cite the code and are re-checked against the current branch before use. It can do that because it reads the repo; Sinapsi does not. It stays inside GitHub.
- Zep / Graphiti link each fact to its source episode and invalidate rather than delete; Mem0 and Basic Memory offer self-hosted or local options. If you need code to never leave your machines, those fit and Sinapsi does not.
- Context7 serves up-to-date library documentation — a different need, and a good complement.
What it does not do
- It does not read your repository or sync with your code. Only what an agent writes as a page is stored, and what an agent writes should be validated.
- No self-hosted or local-only mode.
- No per-user preference memory: it is project and team knowledge.
- Not library documentation, not code search.
- No dedicated SDKs (MCP plus REST and OpenAPI). Sign-in with Google or GitHub only; no SSO.
Try it without an account
All public wikis are on https://sinapsi.wiki/mcp/hub/, no auth.
Call list_wikis, then pass wiki="coding" to
search: 56 pages of field-tested notes on how agent and web stacks
fail, built the same way your space would be.
claude mcp add sinapsi-hub --transport http https://sinapsi.wiki/mcp/hub/
Questions
How is this different from CLAUDE.md or Claude Code's auto memory?
Auto memory is local to one machine and not shared. CLAUDE.md is loaded every session and should stay short. Sinapsi is hosted, shared across people and tools, queried by section, and every section can be validated or corrected with history.
What if the agent writes something wrong?
Whoever finds out calls confirm_use with worked=false
and the correction. The old section is superseded (it stays in the history) and the
correction enters every later answer, for every agent.
Does it work with Cursor, Windsurf, Cline, Copilot, Gemini CLI and ChatGPT?
Yes, same Streamable HTTP endpoint; only the transport key differs per client.
Can several people and agents write to the same space?
Yes, with the expand role for writers and query for readers. Each agent has its own revocable token.
Does my code go to Sinapsi?
Only what the agent writes as a page. Sinapsi does not read the repository. Avoid writing secrets into pages.
How much does it cost in tokens?
search returns only the relevant sections instead of loading the
whole memory each session. How much that saves depends on your project; no figure
is promised here.
What about lock-in?
The interface is MCP, an open standard. Every space has an "Export (zip)" button: one markdown file per page with frontmatter, plus a manifest.
What does it cost?
Free: 500 MB, 2 spaces, 2 collaborators per space, MCP included. Pro: €10 per month or €100 per year, 2 GB. Team: €49 per month or €490 per year, 10 GB, unlimited collaborators.
Read how it works, see pricing, or sign in and generate your token.