API Reference
Build with theViewert API
Inject your Libram context into any AI tool, app, or workflow. The context API is live today — no waitlist.
Context API — Live
MCP Server — Live
No SDK required
A single curl call returns clean Markdown. Paste it anywhere.
API key auth
Bearer token auth. Create and revoke keys in Settings.
Markdown or JSON
Get context as a single Markdown doc or structured JSON.
Public & private
Public Librams need no auth. Private ones require your key.
Quick Start
Two steps: get a key, fetch your Libram context.
Base URL
https://www.viewert.com/apiAuthentication
Authorization: Bearer vwt_your_key_hereFetch your Libram context (macOS / Linux)
$ curl -H "Authorization: Bearer vwt_your_key_here" \
"https://www.viewert.com/api/librams/YOUR_LIBRAM_ID/context"Fetch your Libram context (Windows PowerShell)
PS> Invoke-RestMethod -Headers @{Authorization="Bearer vwt_your_key_here"}
"https://www.viewert.com/api/librams/YOUR_LIBRAM_ID/context"Response — Markdown (default)
# My Coding Style
Always prefer explicit types over any...
---
# Project Conventions
Use ULID for all IDs...Response — JSON (?format=json)
{
"libram_id": "01J...",
"libram_name": "My Coding Style",
"vellums": [
{
"id": "01J...",
"title": "My Coding Style",
"markdown": "..."
}
]
}Live Endpoints
LiveAvailable now. No waitlist.
GET
/api/libramsAuth required
GET
/api/librams/:id/contextPublic Librams: no auth
GET
/api/librams/:id/context?format=jsonPublic Librams: no auth
MCP Server
LiveConnect Claude Desktop, Cursor, and Windsurf to your Librams with zero manual prompting.
list_libramsInputsnone
ReturnsArray of { id, name, description, vellum_count, visibility }
NoteCalled automatically when you ask Claude "what librams do I have?"
get_libram_contextInputslibram_id (required), libram_name (optional)
ReturnsFull Markdown context of all AI-enabled Vellums in the Libram
NoteCalled automatically when you ask Claude to "load my X libram"
Install and configure in one command (requires Node.js 18+):
Setup wizard
npx -y @viewert/mcpErrors
401UnauthorizedMissing or malformed API key.
403ForbiddenKey is valid but you do not own this resource.
404Not FoundLibram does not exist, or is private and you are not the owner.
429Too Many RequestsRate limit hit. Slow down and retry.
All error responses are JSON: { "error": "message" }
Coming Soon
Coming soonFull read/write access to Vellums, users, and search.
GET
/api/vellumsGET
/api/vellums/:idPOST
/api/vellumsGET
/api/users/:usernameGET
/api/search