# Gnosem [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/gnosem/gnosem  
**GitHub Stars:** 0  
**npm Downloads (last month):** 18  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gnosem

## Description
Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.

## Tools
Capabilities this server exposes over MCP:

- **memory_write** — save a fact, preference, decision, or note. `content`, `tags?`, `written_by?` (provenance), `session_id?`, `no_optimize?`
- **memory_search** — semantic search across your memories. `query`, `k?`, `raw?`
- **memory_list** — list recent memories in reverse-chronological order. `limit?`, `cursor?`, `raw?`
- **memory_forget** — soft-delete a memory by id
- **memory_supersede** — replace a stale memory with a corrected one

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gnosem": {
    "command": "npx",
    "args": ["-y","gnosem-install"]
  }
}
```

## Documentation

## What the Gnosem MCP server does

The Gnosem MCP server gives one user-isolated memory store to multiple MCP clients. A memory written from one model can be searched from another client using the same API key, avoiding repeated explanations when switching vendors or machines.

It supports facts, preferences, decisions, and notes. Each record can include tags, the model or application that wrote it, and an opaque session identifier. Records contain raw content, optional optimized content, timestamps, identifiers, and semantic embeddings. Provenance makes it possible to identify which model contributed a memory.

The Gnosem MCP server is hosted at `gnosem.dev` and can also be deployed to a user's Cloudflare account.

## How it works

Writes generate a semantic embedding for the memory and store metadata separately from the vector representation. Searches use semantic similarity and restrict results to the authenticated user's records. Recent memories can also be retrieved in reverse chronological order.

Entries longer than 400 characters are eligible for automatic compression into structured facts covering fields such as topic, project, decision, stack, and problem. The original prose remains available as `content_raw`; callers can request raw output, or disable optimization for a specific write. If optimization fails or produces no shorter result, the service keeps the original content.

Corrections use supersession rather than overwriting. The old record is marked superseded and excluded from normal reads, while the replacement points back to it. Forgetting a memory soft-deletes it and removes it from vector search.

## Setup and configuration

Run `npx gnosem-install` to detect and configure supported MCP clients, including Claude Desktop, Claude Code, Cursor, Windsurf, and Zed. The installer asks for an API key and adds a `gnosem` server entry alongside existing servers. Restart affected clients after configuration.

For manual setup, configure the MCP endpoint as `https://gnosem.dev/mcp` and send the API key as a Bearer token in the `Authorization` header. Keys are available from `gnosem.dev`; the signup API displays a newly created key once. HTTP clients can call the same endpoint using JSON-RPC.

Self-hosting requires Cloudflare Workers, D1, Vectorize, and Workers AI. Deployment involves creating a 768-dimensional cosine Vectorize index, applying the database schema and migrations, configuring the required user metadata index, and deploying with Wrangler. Stripe secrets are only needed when enabling billing.

## Tools and capabilities

- `memory_write` saves content with optional tags, provenance, session grouping, and optimization control.
- `memory_search` performs semantic retrieval with configurable result count and raw-content output.
- `memory_list` returns recent records with limit and cursor pagination.
- `memory_forget` soft-deletes a memory by identifier.
- `memory_supersede` records a corrected replacement for an outdated memory.

## Limitations and notes

The hosted free plan allows 200 memories and one API key. The Pro plan provides unlimited memories, unlimited keys, and 1 GB of storage. Hosted reads are documented as typically taking under 100 ms, while writes generally take about 200–800 ms because embedding and optional optimization occur during the operation.

The Gnosem MCP server requires an API key for the hosted endpoint. User isolation is enforced in both metadata queries and vector search. The documented self-hosting path is specific to Cloudflare services, and billing-related Stripe configuration is optional rather than required for the memory features.

_Full upstream README: https://allmcps.com/mcp/gnosem/readme_

