Personal API Key

Open to all users. Use Bearer authentication to query or save Atoms from Claude Code, Cursor, Codex, Antigravity, Shortcuts, or custom scripts.

Install Agent Skill (SKILL.md)

No MCP daemon required — install the lightweight SKILL.md so your coding agent knows how to search, cite, and save Atoms cleanly.

Install path: ~/.claude/skills/myatoms/SKILL.md — Available across all Claude Code projects automatically.

1. Install Skill file
mkdir -p "~/.claude/skills/myatoms" && curl -fsSL "https://app.myatoms.io/api/v1/skill" -o "~/.claude/skills/myatoms/SKILL.md"
2. Export environment variables in your shell (~/.zshrc / ~/.bashrc)
export MYATOMS_API_KEY="<YOUR_API_KEY>"
export MYATOMS_BASE_URL="https://app.myatoms.io/api/v1"
3. Verify connection
curl -sS -H "Authorization: Bearer $MYATOMS_API_KEY" "https://app.myatoms.io/api/v1/stats"

REST API v1 Endpoints

MethodEndpointDescription
GET/api/v1/atoms?q=...Search atoms or list recent notes & highlights
GET/api/v1/atoms/:idFetch a single atom with full untruncated text
POST/api/v1/atomsCreate a new atom (with optional source metadata)
GET/api/v1/sourcesList books and web articles sorted by atom count
GET/api/v1/sources/:id/atomsFetch all atoms belonging to a source
GET/api/v1/statsGet total atoms, sources, and top sources overview