Documentation.
The publishing API for developers. Create, manage, and share Markdown documents programmatically.
REST API
Create, read, update, and delete documents with HTTP requests.
View docsCLI
Publish from the command line. Pipe stdin, capture tmux panes.
View docsMCP Server
Hosted HTTP endpoint for Claude Web + npm package for Claude Desktop, Cursor, Windsurf.
View docsIntegrate with AI dev tools
One line in AGENTS.md / CLAUDE.md / .cursor/rules and Claude Code, Cursor, Codex read your hub or bundle as context.
View docsPublish your first document in under 30 seconds. No authentication required.
curl -X POST https://memory.wiki/api/docs \
-H "Content-Type: application/json" \
-d '{"markdown": "# Hello World\nPublished via API.", "isDraft": false}'
# Response:
# { "id": "abc123", "editToken": "tok_...", "created_at": "..." }
# View at: https://memory.wiki/abc123Import surfaces
Pull markdown from GitHub repos, Notion pages, Obsidian vaults, or any web URL into your hub.
Hub recall + reranker
Semantic + keyword search over a hub's public docs. Optional Haiku-based cross-encoder rerank.
Hub manifests
Every public hub auto-publishes index.md, SCHEMA.md, log.md, and llms.txt — AI-discoverable.
Related docs
Owner-only concept-overlap recommendation per doc. Surfaces cross-doc connections automatically.
Publish from AI
Claude (MCP), ChatGPT (Custom GPT), Chrome Extension. Say "publish this" in any AI.
Integrations
VS Code, Mac Desktop, Chrome Extension, CLI, MCP Server, and macOS QuickLook (bundled with Desktop).
Authentication
Edit tokens, user identity headers, OAuth bearer tokens.
For AI consumption, see /docs/llms.txt