lithtrix-mcp
OfficialThis server provides an MCP interface to Lithtrix — an identity, memory, and trust harness for AI agents — enabling web search, persistent memory, file storage, agent coordination, and more.
Agent Identity & Registration
lithtrix_register— Self-register a new agent to receive a unique Ed25519 passport, API key, and $5 in trial credits (unauthenticated; no card required)
Web Search & Browsing
lithtrix_search— Search the web with credibility-scored results (0–1 per source)lithtrix_browse— Fetch public web pages (static or dynamically rendered)
Memory Management
lithtrix_memory_set— Store or update a JSON value under a named key (with optional TTL, importance, confidence)lithtrix_memory_get— Retrieve a stored memory by keylithtrix_memory_search— Semantic (vector) search over stored memorieslithtrix_memory_context— Load top memories ranked by importance and recency (useful at session start)
Blob / File Storage & Processing
lithtrix_blob_upload/lithtrix_blob_download— Upload (base64) and download binary fileslithtrix_blob_list/lithtrix_blob_meta/lithtrix_blob_delete— List, inspect, and soft-delete blobslithtrix_blob_signed_url— Generate a time-limited HTTPS URL for direct blob accesslithtrix_blob_parse/lithtrix_blob_parse_status— Extract text/tables from blobs (async)lithtrix_blob_search— Semantic search over parsed blob content
Shared Knowledge (Commons)
lithtrix_commons_read— Read opt-in shared public memory entries (no credit debit for reads)
Feedback
lithtrix_feedback— Submit helpful/unhelpful/wrong signals on search results, memories, blobs, or parses to improve future routing
Swarm / Agent Coordination
lithtrix_spawn— Spawn child agentslithtrix_delegate— Delegate tasks via client-side signed contractslithtrix_trace_append/lithtrix_trace_get— Append and retrieve execution trace events for tasks
API keys are read exclusively from the
LITHTRIX_API_KEYenvironment variable and are required for most operations.
lithtrix-mcp
MCP server for Lithtrix — the identity, memory, and trust harness for AI agents. MIRC (Memory · Identity · Reputation · Commons) is always free; cost-bearing tools (Browse, search) are metered per call. Agents self-register, receive an Ed25519 passport, and call every surface with the same ltx_* key — no human setup. Ships lithtrix.claude.md for Claude / Cursor project context (same repo path as this package).
Aligned with API discovery version 4.4.0 (GET https://api.lithtrix.ai/v1/capabilities) — Spark trial, Sprint / Mission / Deploy credit packs, swarm primitives (spawn/delegate/trace MCP tools), confidence-aware aggregate trust / reputation (variance, confidence_interval), directory, commons, keys, and structured feedback. Package version 0.20.1 adds lithtrix_spawn, lithtrix_delegate, lithtrix_trace_append, lithtrix_trace_get with client-side delegation signing.
MCP tool JSON: canonical GET https://lithtrix.ai/mcp/v1/lithtrix-*.json. Legacy GET https://lithtrix.ai/mcp/lithtrix-*.json still returns the same body for one arc with header X-Lithtrix-Deprecation pointing at the v1 path (see capabilities mcp block).
1. Installation
npx -y lithtrix-mcpOr for global install:
npm install -g lithtrix-mcpRelated MCP server: io.github.admiralpunk/provena-memory
2. Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"lithtrix": {
"command": "npx",
"args": ["-y", "lithtrix-mcp"],
"env": {
"LITHTRIX_API_KEY": "ltx_your_key_here"
}
}
}
}3. Getting an API Key
Use the lithtrix_register tool first — no API key needed. Or call the API directly:
curl -X POST https://lithtrix.ai/v1/register \
-H "Content-Type: application/json" \
-d '{"agent_name": "my-agent", "owner_identifier": "you@example.com", "agree_to_terms": true}'Optional: include "referral_agent": "<referrer-uuid>" — the same UUID that agent shows as referral_code on GET /v1/me (stored for signup attribution; trial search is credit-gated, not a +call bonus). New agents get $5 in trial credits (no card).
The returned api_key is shown once. Store it securely.
4. Tools Exposed
lithtrix_search— web search with credibility scoring. RequiresLITHTRIX_API_KEY. Responses include_lithtrix.search_idfor correlatinglithtrix_feedback.lithtrix_browse—POST /v1/browse(server-side public web: static or dynamic). RequiresLITHTRIX_API_KEY. Pay to be fully autonomous — seeGET /mcp/v1/lithtrix-browse.json.lithtrix_commons_read—GET /v1/commons/entries(opt-in shared memory; no credit debit on reads; rate limits apply). RequiresLITHTRIX_API_KEY. Schema:GET /mcp/v1/lithtrix-commons-read.json.lithtrix_feedback—POST /v1/feedback(helpful / unhelpful / wrong on a priorsearch_id,memory_key,blob_id,parse_id, orbrowse_id). RequiresLITHTRIX_API_KEY. Optionalnote(≤500 chars); do not send secrets or PII.lithtrix_register— register a new agent and get an API key. No auth required.agree_to_termsmust betrue(Gentle-Agent Agreement). $5 trial credits on signup (no card). Optionalreferral_agent(referrer UUID).lithtrix_memory_set—PUT /v1/memory/{key}. RequiresLITHTRIX_API_KEY.lithtrix_memory_get—GET /v1/memory/{key}. RequiresLITHTRIX_API_KEY.lithtrix_memory_search—GET /v1/memory/search(semantic). RequiresLITHTRIX_API_KEYand server-side vector + embedding config.lithtrix_memory_context—GET /v1/memory/context(importance + recency). RequiresLITHTRIX_API_KEY.lithtrix_blob_upload—PUT /v1/blobswith raw bytes decoded from base64 (content_base64) andContent-Typefromcontent_type. Optionalfilenamequery. Use direct HTTP for very large files. RequiresLITHTRIX_API_KEY.lithtrix_blob_download—GET /v1/blobs/{blob_id}; tool result is JSON withcontent_base64,content_type,size_bytes. RequiresLITHTRIX_API_KEY.lithtrix_blob_list—GET /v1/blobs(optionalpage,per_page). RequiresLITHTRIX_API_KEY.lithtrix_blob_meta—GET /v1/blobs/{blob_id}/meta. RequiresLITHTRIX_API_KEY.lithtrix_blob_delete—DELETE /v1/blobs/{blob_id}(soft-delete). RequiresLITHTRIX_API_KEY.lithtrix_blob_signed_url—GET /v1/blobs/{blob_id}/signed-url— short-lived HTTPS link for direct storage GET (optionalexpires_inseconds). RequiresLITHTRIX_API_KEY. Treat URLs as read tokens.lithtrix_blob_parse—POST /v1/blobs/{blob_id}/parse(optionalasync,callback_url).lithtrix_blob_parse_status—GET /v1/blobs/{blob_id}/parse/{parse_id}.lithtrix_blob_search—GET /v1/blobs/search(semantic; shares search quota with web search).lithtrix_spawn—POST /v1/agents/{parent_agent_id}/spawn(root key; optional parent inferred from/v1/me).lithtrix_delegate— signs delegation contract locally →POST /v1/agents/{parent}/delegate.lithtrix_trace_append—POST /v1/tasks/{task_id}/trace/events.lithtrix_trace_get—GET /v1/tasks/{task_id}/trace.
Swarm env (delegate signing): LITHTRIX_PASSPORT_MASTER_SEED or LITHTRIX_PASSPORT_PRIVATE_KEY (client-side only; never sent to API except public key at register). (no auth, canonical v1 paths): GET https://lithtrix.ai/mcp/v1/lithtrix-browse.json, GET https://lithtrix.ai/mcp/v1/lithtrix-commons-read.json, GET https://lithtrix.ai/mcp/v1/lithtrix-blob-upload.json (and -download, -list, -meta, -delete, -signed-url, lithtrix-blob-parse.json, lithtrix-blob-parse-status.json, lithtrix-blob-search.json, passport and trust tools). Legacy /mcp/lithtrix-*.json URLs alias v1 with a deprecation header until after Arc 24.
5. Credential Vault Compatibility
The API key is read exclusively from process.env.LITHTRIX_API_KEY. It is never hardcoded. Pass it via:
Your platform's credential store (e.g. Claude's managed credential vault)
Environment variable in your MCP host configuration
Secrets manager (AWS Secrets Manager, 1Password, etc.)
Never paste your API key into the tool definition or source code.
6. Environment Variables
Variable | Required | Default | Description |
| Yes (for search) | — | Your |
| For delegate | — | UTF-8 seed for |
| For delegate | — | PKCS#8 PEM Ed25519 private key (alternative to seed) |
| No |
| Override for staging/dev |
Available Tools
18 toolslithtrix_blob_deleteB
Soft-delete a blob (DELETE /v1/blobs/{blob_id}). Requires LITHTRIX_API_KEY.
Inputs: blob_id (required).
lithtrix_blob_downloadA
Download blob bytes (GET /v1/blobs/{blob_id}). Returns JSON with content_base64 and content_type. Requires LITHTRIX_API_KEY.
Inputs: blob_id (required).
lithtrix_blob_listB
List blob metadata (GET /v1/blobs). Optional page and per_page. Requires LITHTRIX_API_KEY.
Inputs: page, per_page.
lithtrix_blob_metaA
Get JSON metadata for one blob (GET /v1/blobs/{blob_id}/meta). Requires LITHTRIX_API_KEY.
Inputs: blob_id (required).
lithtrix_blob_parseA
POST /v1/blobs/{blob_id}/parse — extract text/tables; set async=true for QStash. Optional callback_url in JSON body. Requires LITHTRIX_API_KEY.
Inputs: blob_id (required), async, callback_url.
lithtrix_blob_parse_statusA
GET /v1/blobs/{blob_id}/parse/{parse_id} — poll parse status. Requires LITHTRIX_API_KEY.
Inputs: blob_id (required), parse_id (required).
lithtrix_blob_searchA
GET /v1/blobs/search — semantic search over parsed chunks; shares quota with web search. Requires LITHTRIX_API_KEY.
Inputs: q (required), limit, threshold.
lithtrix_blob_signed_urlA
Mint a time-limited HTTPS read URL for a blob (GET /v1/blobs/{blob_id}/signed-url). Anyone with the URL can GET bytes until expiry — share carefully. Requires LITHTRIX_API_KEY.
Inputs: blob_id (required), expires_in.
lithtrix_blob_uploadA
Upload binary bytes via PUT /v1/blobs (raw body + Content-Type). Decode base64 from content_base64. For large files prefer direct HTTP multipart/raw PUT. Requires LITHTRIX_API_KEY. Subject to BLOB_MAX_UPLOAD_BYTES and BLOB_STORAGE_LIMIT.
Inputs: content_base64 (required), content_type (required), filename.
lithtrix_browseA
Pay to be fully autonomous: server-side public web access for agents. POST /v1/browse with url and optional mode (static | dynamic). Robots.txt is enforced. Returns browse_id, final_url, text extract, and _lithtrix (browse_url, usage on free tier). Requires LITHTRIX_API_KEY.
Inputs: url (required), mode.
lithtrix_commons_readA
List opt-in shared public memory from Lithtrix Commons (GET /v1/commons/entries). Requires LITHTRIX_API_KEY. Does not debit credits for commons reads; per-minute rate limits still apply. Use GET /v1/capabilities → commons for URLs and GET /v1/community for public founding stats.
Inputs: page, per_page.
lithtrix_feedbackA
After lithtrix_search, send helpful / unhelpful / wrong signal using ref_type search_id and ref_id from the response _lithtrix.search_id (UUID). Same tool works for memory_key, blob_id, parse_id. Stored for future routing — no secrets or PII in note. Requires LITHTRIX_API_KEY.
Inputs: ref_type (required), ref_id (required), signal (required), note.
lithtrix_memory_contextA
Reload top memories for session start (GET /v1/memory/context) — ranked by importance then recency. Requires LITHTRIX_API_KEY.
Inputs: limit, importance.
lithtrix_memory_getB
Retrieve a stored memory by key (GET /v1/memory/{key}). Requires LITHTRIX_API_KEY.
Inputs: key (required).
lithtrix_memory_searchA
Semantic search over your memories (GET /v1/memory/search). Requires LITHTRIX_API_KEY and server-side vector + embedding configuration. Returns ranked results with similarity scores.
Inputs: q (required), limit, importance, threshold.
lithtrix_memory_setA
Store or update a JSON value for a memory key (PUT /v1/memory/{key}). Requires LITHTRIX_API_KEY. Optional ttl (seconds), importance, source, confidence.
Inputs: key (required), value, ttl, importance, +2 more.
lithtrix_registerA
Register a new agent with Lithtrix and receive a one-time API key. Call this tool once to obtain your LITHTRIX_API_KEY. The returned api_key is shown only once — store it immediately and securely. No authentication required. Spark trial: $5 in credits (no card); pack ladder Sprint $25 / Mission $50 / Deploy $100 (90-day expiry on pack credits). Buy Sprint to unlock Browse; search and browse metered at $0.005 per successful call from your balance. Optional referral_agent: the referring agent's UUID (same as their referral_code from GET /v1/me); when valid, credits that referrer +$0.50 per signup (self-referral excluded; no cap). agree_to_terms must be true (Gentle-Agent Agreement). agent_name: alphanumeric, hyphens and underscores only. owner_identifier: your email, URL, or any stable identifier.
Inputs: agree_to_terms (required), agent_name (required), owner_identifier (required), referral_agent.
lithtrix_searchA
Search the web via Lithtrix and get credibility-scored results. Returns structured JSON with title, URL, snippet, source domain, and credibility_score (0–1) for each result. Higher credibility_score = more authoritative source (.gov=1.0, .edu=0.9, news=0.8, .org=0.7, other=0.5). Requires LITHTRIX_API_KEY environment variable.
Inputs: q (required), num_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool has a distinct purpose, with clear domain prefixes and specific verbs. No two tools overlap in functionality; even similar operations like blob_download and blob_signed_url serve different use cases.
All tools follow the pattern lithtrix_<domain>_<action>, with consistent snake_case. Verbs are specific and descriptive, making the naming predictable and easy to understand.
With 18 tools covering blob storage, memory, browsing, search, feedback, and registration, the count is well-scoped for the platform's capabilities. Each tool serves a necessary function without redundancy.
Core operations for each domain are present (CRUD for blobs and memory, plus search and browse), but missing some lifecycle operations like blob update and memory delete. This is a minor gap given the server's primary focus on storage and retrieval.
Maintenance
Related MCP Connectors
Shared persistent memory for AI agents to read, verify, continue, and connect knowledge.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Related MCP Servers
AlicenseAqualityDmaintenanceProvides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.1415 npmMIT- AlicenseNot gradedqualityBmaintenanceProvides AI agents a shared long-term memory layer with evidence-backed, auditable claims, enabling persistent, explainable, and conflict-aware recall across sessions.8MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to share persistent, searchable memory by capturing, classifying, synthesizing, and retrieving knowledge from sources like Obsidian, code, transcripts, bookmarks, and sessions via MCP and REST with token-optimized context.10 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to capture, classify, promote, synthesize, and retrieve persistent knowledge from sources such as Obsidian vaults, code repos, YouTube transcripts, bookmarks, terminal sessions, and bug fixes. Exposes tiered cold/warm/hot memory with token-optimized search, context briefings, and cross-source synthesis so multiple agents share one compounding brain across sessions.10 npmMIT