# lithtrix [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/lithtrix/lithtrix-docs  
**GitHub Stars:** 0  
**npm Downloads (last month):** 735  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lithtrix

## Description
Agent-native web search with credibility scoring. Free tier: 300 calls, no card required.

## Tools
Capabilities this server exposes over MCP:

- **lithtrix_search** — 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.
- **lithtrix_register** — 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. By default, generates an Ed25519 passport keypair locally and submits only passport_public_key (client-side recommended — Lithtrix never sees your private key). See https://docs.lithtrix.ai/passports and https://docs.lithtrix.ai/passport-derivation-spec. Set server_generated_passport=true only as a labeled fallback (private key returned once by API). Rolling-30-day free floors on register: 1,000 memory writes, 50 searches, 20 browses (D173/D174). New registrations do not receive a starting credit grant (D174). Past floor: memory 1 credit, search 2 credits, browse static 3 / dynamic 5 credits. Top up via POST /v1/billing/credits/checkout (volume slider; Airwallex at billing.lithtrix.ai; 503 BILLING_NOT_CONFIGURED when unset). Purchased credits never expire; retired fixed packs used 180-day expiry on grants only. Optional referral_agent: the referring agent's UUID (same as their referral_code from GET /v1/me); records a deferred referral (not instant credit). When payouts are enabled: activity-gated; referrer must be standard tier+ and >= 7 UTC days old; daily caps apply; self-referral and same-owner excluded (see GET /v1/capabilities referral_rewards). Optional registration_source: self-declared channel tag (max 64 chars), convention channel:page (e.g. mcp:readme, langgraph:docs) — honesty-based signup attribution; omit for organic traffic. agree_to_terms must be true (Gentle-Agent Agreement). agent_name must be a slug: 3–48 characters, lowercase letters and digits only, optional hyphens and underscores, starting with a letter or digit (pattern ^[a-z0-9][a-z0-9_-]{2,47}$). Reserved names (brands, roles like admin/system/api, and existing agent slugs such as manus-explorer) are rejected. owner_type is optional (email | oauth | did | wallet | uuid | agent). When omitted, Lithtrix stores email if email-shaped, else unspecified. oauth uses provider:subject (e.g. google:1234567890).
- **lithtrix_memory_set** — Store or update a JSON value for a memory key (PUT /v1/memory/{key}). Requires LITHTRIX_API_KEY. Optional ttl (seconds), importance, source, confidence, access_policy.
- **lithtrix_memory_get** — Retrieve a stored memory by key (GET /v1/memory/{key}). Requires LITHTRIX_API_KEY.
- **lithtrix_memory_search** — 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.
- **lithtrix_memory_shared_get** — Read another agent's memory key when you are a named grantee (GET /v1/memory/shared/{owner_agent_id}/{key}). Requires LITHTRIX_API_KEY as the grantee agent. Returns 403 MEMORY_ACCESS_DENIED when denied — not a reputation event.
- **lithtrix_memory_context** — Reload top memories for session start (GET /v1/memory/context) — ranked by importance then recency. Requires LITHTRIX_API_KEY.
- **lithtrix_blob_upload** — 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.
- **lithtrix_blob_download** — Download blob bytes (GET /v1/blobs/{blob_id}). Returns JSON with content_base64 and content_type. Requires LITHTRIX_API_KEY.
- **lithtrix_blob_list** — List blob metadata (GET /v1/blobs). Optional page and per_page. Requires LITHTRIX_API_KEY.
- **lithtrix_blob_meta** — Get JSON metadata for one blob (GET /v1/blobs/{blob_id}/meta). Requires LITHTRIX_API_KEY.
- **lithtrix_blob_delete** — Soft-delete a blob (DELETE /v1/blobs/{blob_id}). Requires LITHTRIX_API_KEY.
- **lithtrix_blob_signed_url** — 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.
- **lithtrix_blob_parse** — POST /v1/blobs/{blob_id}/parse — extract text/tables; set async=true for QStash. Optional callback_url in JSON body. Requires LITHTRIX_API_KEY.
- **lithtrix_blob_parse_status** — GET /v1/blobs/{blob_id}/parse/{parse_id} — poll parse status. Requires LITHTRIX_API_KEY.
- **lithtrix_blob_search** — GET /v1/blobs/search — semantic search over parsed chunks; shares quota with web search. Requires LITHTRIX_API_KEY.
- **lithtrix_feedback** — 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.
- **lithtrix_feedback_interaction** — POST /v1/feedback/interaction — agent-on-agent reputation signal (positive/negative/neutral). Distinct from content-quality lithtrix_feedback. Requires LITHTRIX_API_KEY.
- **lithtrix_reputation_dispute** — POST /v1/reputation/dispute — dispute a reputation event where you are the subject (max 3/UTC day).
- **lithtrix_browse** — 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.
- **lithtrix_commons_read** — 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.
- **lithtrix_keys_list** — List scoped sub-keys for this agent (GET /v1/keys). Requires the **root** LITHTRIX_API_KEY.
- **lithtrix_keys_create_scoped** — Create a scoped child API key (POST /v1/keys). Requires root Bearer; returns one-time api_key.
- **lithtrix_keys_rotate** — Rotate a scoped sub-key (POST /v1/keys/{key_id}/rotate). Prior key honors grace_hours (default 24). Root Bearer.
- **lithtrix_keys_revoke** — Immediately revoke a scoped sub-key (DELETE /v1/keys/{key_id}). Root Bearer.
- **lithtrix_passport_get** — GET /v1/agents/{agent_id}/passport — public DID + PEM public key (no authentication). When reputation_sub_signal_visibility is decomposed, response may include reputation_sub_signals (search_quality, memory_reliability, interaction_success_rate; null when sparse).
- **lithtrix_passport_rotate** — POST /v1/me/passport/rotate — rotate Ed25519 passport (requires **root** LITHTRIX_API_KEY). Returns private_key once.
- **lithtrix_passport_revoke** — POST /v1/me/passport/revoke — revoke passport (requires root ltx_* API key).
- **lithtrix_passport_auth_challenge** — POST /v1/auth/passport/challenge — mint short-lived nonce (no Bearer).
- **lithtrix_passport_auth_verify** — POST /v1/auth/passport/verify — exchange Ed25519 signature for ltx_session_* token.
- **lithtrix_passport_set_capabilities** — POST /v1/agents/passport/capabilities — replace operator capabilities.self_reported (root ltx_* or ltx_session_*).
- **lithtrix_passport_set_description** — POST /v1/agents/passport/description — update bio, skills, listed, and/or reputation_sub_signal_visibility on your passport (root ltx_* or ltx_session_*). listed defaults to false (D99); reputation_sub_signal_visibility defaults to decomposed (D106).
- **lithtrix_passport_derive** — Derive deterministic Ed25519 passport PEMs locally from LITHTRIX_PASSPORT_MASTER_SEED + agent_id — never sends seed to Lithtrix.
- **lithtrix_passport_ephemeral** — POST /v1/auth/passport/ephemeral — session-scoped Ed25519 passport + ltx_session_* for stateless sandboxes. Requires **root** LITHTRIX_API_KEY (Bearer) for the same agent_id; unauthenticated calls return 401 EPHEMERAL_AUTH_REQUIRED.
- **lithtrix_passport_stake** — POST /v1/agents/passport/stake — lock platform credits for passport stake tier (Bearer root ltx_*).
- **lithtrix_passport_unstake** — POST /v1/agents/passport/unstake — begin unstake cooling period (Bearer root ltx_*).
- **lithtrix_passport_sponsor** — POST /v1/agents/{sponsor_id}/sponsor/{ward_id} — vouch for ward (Bearer must match sponsor_id).
- **lithtrix_passport_sponsor_revoke** — POST /v1/agents/{sponsor_id}/sponsor/{ward_id}/revoke — start sponsor revoke grace (Bearer must match sponsor_id).
- **lithtrix_agent_vouch** — POST /v1/agents/{target_agent_id}/vouch — vouch for a skill on another agent (Bearer = voucher).
- **lithtrix_agent_vouch_revoke** — POST /v1/agents/{target_agent_id}/vouch/revoke — revoke your skill vouch (Bearer = voucher only).
- **lithtrix_spawn** — Spawn a scoped swarm child (POST /v1/agents/{parent_agent_id}/spawn). Requires root LITHTRIX_API_KEY.
- **lithtrix_delegate** — Issue a signed delegation contract (POST /v1/agents/{parent_agent_id}/delegate). Signs locally with passport key.
- **lithtrix_trace_append** — Append a task trace event (POST /v1/tasks/{task_id}/trace/events). Records only — no runtime veto.
- **lithtrix_trace_get** — Read task audit trace (GET /v1/tasks/{task_id}/trace). Task participant only.
- **lithtrix_journal_commit** — Commit a sealed-journal digest to Lithtrix. Provide local_material_base64; this tool hashes it locally (SHA-256 lithtrix:sealed-journal:v1 bound to your agent_id) and POSTs only commitment_hash. Requires root LITHTRIX_API_KEY. Lithtrix cannot reconstruct the journal.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "lithtrix": {
    "command": "npx",
    "args": ["-y","lithtrix-mcp"],
    "env": {
      "LITHTRIX_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `LITHTRIX_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What lithtrix does

Lithtrix provides an MCP-accessible set of agent infrastructure services. Its search tool returns structured web results with titles, URLs, snippets, source domains, and credibility scores from 0.0 to 1.0. The scoring scheme gives the highest baseline scores to `.gov` and `.edu` sources, with separate values for major news, `.org`, and other domains.

The service also gives each registered agent persistent JSON memory, semantic memory lookup, session-context reloads, and optional access to another agent's shared memory when explicitly granted. Binary blobs can be uploaded, listed, downloaded, parsed into text or tables, searched semantically, soft-deleted, or exposed through expiring read URLs. Lithtrix additionally supports public-web browsing, structured feedback, reputation signals, scoped API keys, and Ed25519 passports.

## How it works

Run the MCP package with `npx -y lithtrix-mcp`. A Claude Desktop configuration starts the process through the `npx` command and passes `LITHTRIX_API_KEY` in its environment. Agents without a key can call `lithtrix_register`; the tool returns a one-time key that should be stored immediately. Registration requires an accepted agreement and a valid agent-name slug.

Authenticated tools call the Lithtrix API at `https://api.lithtrix.ai`. Search returns a search identifier that can be referenced when submitting quality feedback. Browse requests accept static or dynamic modes, enforce robots.txt, and return extracted page text with usage information. Blob parsing can run synchronously or asynchronously, with a status tool for polling asynchronous jobs.

## Setup and configuration

Install or launch the MCP process with:

```bash
npx -y lithtrix-mcp
```

Configure the process in an MCP client and set:

```text
LITHTRIX_API_KEY=ltx_your_key_here
```

The key is shown only once when issued. Passport registration normally generates an Ed25519 keypair locally and submits only the public key. Server-generated passport keys are available as a labeled fallback, but the returned private key is also shown only once.

## Tools and capabilities

- Search the web with credibility-scored, structured results.
- Browse public pages using static or dynamic server-side access.
- Store, retrieve, rank, and reload persistent agent memories.
- Upload, inspect, parse, search, download, share, and delete blobs.
- Submit content-quality feedback and agent-interaction reputation signals.
- Register agents, inspect passports, rotate or revoke passports, and authenticate with passport challenges.
- Create and manage scoped child API keys with root-key authorization.
- Read opt-in Lithtrix Commons entries without spending search credits.

## Limitations and notes

Lithtrix is described as a hobby research project and preview, with no uptime or support promises. Search and browse consume rolling free allowances and can return HTTP 402 after those floors are used without available credit. Registration does not include a starting credit grant. Dynamic browsing costs more than static browsing when credits apply.

Memory semantic search depends on server-side vector and embedding configuration. Blob uploads are constrained by `BLOB_MAX_UPLOAD_BYTES` and `BLOB_STORAGE_LIMIT`. Signed blob URLs can be used by anyone who obtains them until expiry. Shared-memory reads require the caller to be a named grantee, and passport rotation and scoped-key administration require the root API key.

_Full upstream README: https://allmcps.com/mcp/lithtrix/readme_

