{"_id":"@chaoszh/mnemo-mcp","_rev":"3-204b4e462a173fe8b2d71ef5ca9dd085","name":"@chaoszh/mnemo-mcp","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@chaoszh/mnemo-mcp","version":"0.1.0","_id":"@chaoszh/mnemo-mcp@0.1.0","maintainers":[{"name":"chaoszh","email":"chaoszh@foxmail.com"}],"bin":{"mnemo-mcp":"dist/index.js"},"dist":{"shasum":"42718f55bab41fe07ece1265c44b756257423292","tarball":"https://registry.npmjs.org/@chaoszh/mnemo-mcp/-/mnemo-mcp-0.1.0.tgz","fileCount":9,"integrity":"sha512-h+WPNtCMPHyo7dqJajzmQPoc7keOtBdXsjAuTSXDEafAm90uv366Sak4/pHvbqqlHERqI5o1hL7nKxD2CsVlYg==","signatures":[{"sig":"MEYCIQCKGMsphTUYriQEqa51KBUzWtKY3BAZRCey0tiUsYTcjwIhAJKmtuhp395aCD46gGw28GCsI61mGTk7sKzpyawl6mU4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15006},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0dfc838f7dd8ed43536f1128bedc0d9c1d179302","scripts":{"build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"chaoszh","email":"chaoszh@foxmail.com"},"_npmVersion":"10.8.2","description":"Mnemo MCP stdio server — exposes all memory tools to Claude Code and Claude Desktop","directories":{},"_nodeVersion":"18.20.6","dependencies":{"@chaoszh/mnemo-core":"*","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/mnemo-mcp_0.1.0_1773163657960_0.7209766409494889","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@chaoszh/mnemo-mcp","version":"0.1.1","_id":"@chaoszh/mnemo-mcp@0.1.1","maintainers":[{"name":"chaoszh","email":"chaoszh@foxmail.com"}],"bin":{"mnemo-mcp":"dist/index.js"},"dist":{"shasum":"3f75c34add31f56764139ced708338e573e62e13","tarball":"https://registry.npmjs.org/@chaoszh/mnemo-mcp/-/mnemo-mcp-0.1.1.tgz","fileCount":10,"integrity":"sha512-Cx9jYWcVBceVd0M1QjtwmYfJp1hMU87tqAHd9HJ6A3shQzQQC3vbxNRPng4NtB+4n76pbi7wk6tYYFrVGzjMwg==","signatures":[{"sig":"MEUCIB3j4O2RnY+0pRtwH6E05EPEGr+4Y0NV20HEuloV2MwzAiEAqNpX7AmKk6fG/kIqK6cOZqq+V1vU8wgrOISkG5gBqvc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17085},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0dfc838f7dd8ed43536f1128bedc0d9c1d179302","scripts":{"build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"chaoszh","email":"chaoszh@foxmail.com"},"_npmVersion":"10.8.2","description":"Mnemo MCP stdio server — exposes all memory tools to Claude Code and Claude Desktop","directories":{},"_nodeVersion":"18.20.6","dependencies":{"@chaoszh/mnemo-core":"*","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/mnemo-mcp_0.1.1_1773163777950_0.4654045770067272","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@chaoszh/mnemo-mcp","version":"0.1.2","description":"Mnemo MCP stdio server — exposes all memory tools to Claude Code and Claude Desktop","main":"./dist/index.js","types":"./dist/index.d.ts","type":"module","bin":{"mnemo-mcp":"dist/index.js"},"exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","start":"node dist/index.js"},"dependencies":{"@chaoszh/mnemo-core":"*","@modelcontextprotocol/sdk":"^1.0.0"},"devDependencies":{"typescript":"^5.4.0"},"_id":"@chaoszh/mnemo-mcp@0.1.2","gitHead":"bd262e3178383ce051d6c9845546241ac9583e22","_nodeVersion":"18.20.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rsnCkk9nK6XohpblJEGWbJxlCNEYoIIJjfWAGo53sgXa0sfjtvrUAfjnbgusK1u1Md3ddb8DLYST00yVrs3Elg==","shasum":"dd7f9472e58be4a1bc101b652ee16c5da65200bc","tarball":"https://registry.npmjs.org/@chaoszh/mnemo-mcp/-/mnemo-mcp-0.1.2.tgz","fileCount":10,"unpackedSize":17085,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDk3Qa34+8Q7yUhJmTIVC7lhnKKV5D0jfEztEX3ewOZoAiBkfnBTOyhDhZFOVYc1Dv7psV0zOHJ45D1nB9S/bLJhFA=="}]},"_npmUser":{"name":"chaoszh","email":"chaoszh@foxmail.com"},"directories":{},"maintainers":[{"name":"chaoszh","email":"chaoszh@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mnemo-mcp_0.1.2_1773167343380_0.39048476836946433"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-10T17:27:37.857Z","modified":"2026-03-10T18:29:03.622Z","0.1.0":"2026-03-10T17:27:38.109Z","0.1.1":"2026-03-10T17:29:38.090Z","0.1.2":"2026-03-10T18:29:03.511Z"},"description":"Mnemo MCP stdio server — exposes all memory tools to Claude Code and Claude Desktop","maintainers":[{"name":"chaoszh","email":"chaoszh@foxmail.com"}],"readme":"# @chaoszh/mnemo-mcp\n\nMCP stdio server for [Mnemo](https://github.com/chaoszh/mnemo) — exposes persistent memory tools to Claude Desktop and Claude Code via the Model Context Protocol.\n\n## Quick start\n\nNo install needed. Configure your MCP client to spawn the server with `npx`:\n\n### Claude Desktop\n\nEdit `~/AppData/Roaming/Claude/claude_desktop_config.json` (Windows) or `~/.config/claude/claude_desktop_config.json` (macOS/Linux):\n\n```json\n{\n  \"mcpServers\": {\n    \"mnemo\": {\n      \"command\": \"npx\",\n      \"args\": [\"@chaoszh/mnemo-mcp\"],\n      \"env\": {\n        \"DATABASE_URL\": \"postgresql://postgres:password@localhost:5432/postgres\",\n        \"MNEMO_AGENT_ID\": \"claude\",\n        \"MNEMO_GEMINI_API_KEY\": \"your-gemini-key\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code\n\n```json\n{\n  \"mcpServers\": {\n    \"mnemo\": {\n      \"command\": \"npx\",\n      \"args\": [\"@chaoszh/mnemo-mcp\"],\n      \"env\": {\n        \"DATABASE_URL\": \"postgresql://postgres:password@localhost:5432/postgres\",\n        \"MNEMO_AGENT_ID\": \"claude-code\",\n        \"MNEMO_GEMINI_API_KEY\": \"your-gemini-key\"\n      }\n    }\n  }\n}\n```\n\n## Environment variables\n\n| Variable | Required | Description |\n|---|---|---|\n| `DATABASE_URL` | ✅ | Postgres connection string |\n| `MNEMO_AGENT_ID` | ✅ | Unique identifier for this agent |\n| `MNEMO_GEMINI_API_KEY` | ✅ | Gemini API key for embeddings |\n| `MNEMO_DEFAULT_SEARCH_LIMIT` | — | Max results from `search_memories` (default `5`) |\n| `MNEMO_DEFAULT_SESSION_LIMIT` | — | Max results from `list_sessions` (default `10`) |\n| `MNEMO_MEMORY_TTL_DAYS` | — | Auto-delete memories older than N days |\n\n## Tools exposed\n\n| Tool | Description |\n|---|---|\n| `save_memory` | Persist a memory |\n| `search_memories` | Find memories by semantic similarity |\n| `delete_memory` | Delete a memory by ID |\n| `update_memory` | Correct or amend an existing memory |\n\n## Database setup\n\nRequires PostgreSQL with pgvector. See the [devkit](../../devkit/) for a Docker Compose setup, or apply migrations manually:\n\n```bash\nfor f in db/*.sql; do psql \"$DATABASE_URL\" -f \"$f\"; done\n```\n","readmeFilename":"README.md"}