Developer Docs

Documentation

The publishing API for developers. Create, manage, and share Markdown documents programmatically.

Base URL: https://memory.wiki

Terminal
# Create a document$ curl -X POST https://memory.wiki/api/docs \ -H 'Content-Type: application/json' \ -d '{"markdown": "# Hello World"}'{ "id": "abc123", "url": "https://memory.wiki/abc123", "editToken": "eyJ..."}

Quick Start

curl

REST API

Create, read, update, and delete documents with HTTP requests.

View docs →
terminal

CLI

Publish from the command line. Pipe stdin, capture tmux panes.

View docs →
MCP

MCP Server

Hosted HTTP endpoint for Claude Web + npm package for Claude Desktop, Cursor, Windsurf.

View docs →
context

Integrate 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 docs →

Try It

Publish your first document in under 30 seconds. No authentication required.

bash
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/abc123

Explore

Import 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