Fügt Claude Desktop, Cursor und jedem MCP-kompatiblen Client akademische Zitationsprüfung hinzu.

@citetrue/mcp-servernpx -y @citetrue/mcp-server

Funktionen

Fünf Tools, die die CiteTrue REST-API kapseln. Gleiche Credits, gleiche Genauigkeit — nur über MCP statt HTTP.

ToolZweckCredits / Aufruf
verifySplit a text blob into references and verify each. depth selects accuracy vs. cost.1 or 5 per ref by depth
get_creditsAktuelles Credit-Guthaben des Kontos.0

Quickstart

  1. Zu Dashboard → API-Schlüssel gehen und Neuer API-Schlüssel klicken. Schlüssel kopieren, der mit sk_ beginnt.
  2. MCP-Client-Konfiguration öffnen (siehe Client-Einrichtung) und citetrue-Block einfügen.
  3. MCP-Client neu starten — nicht nur den Chat, die ganze App.
  4. Assistent bitten "Verifiziere diese Zitate: [einfügen]". Er ruft verify_fast auf und fasst zusammen.

Client-Einrichtung

Jeder stdio-MCP-Client funktioniert. Unten die drei häufigsten; andere verwenden die gleiche Konfigurationsstruktur.

Claude Desktop

Empfohlen

Installiere CiteTrue als Claude-Desktop-Erweiterung — kein Bearbeiten von JSON, kein Node-Setup. Der gebündelte Server läuft mit dem Node, das Claude Desktop mitbringt.

Für Claude Desktop herunterladen

Doppelklicke die heruntergeladene Datei (oder zieh sie in Einstellungen → Extensions) und füge bei Aufforderung deinen API-Key ein — er wird sicher im Schlüsselbund deines Betriebssystems gespeichert.

Wichtig: Stelle nach der Installation sicher, dass die Erweiterung in Einstellungen → Extensions aktiviert (eingeschaltet) ist, und starte Claude Desktop neu — erst dadurch werden ihre Tools aktiv.

Oder manuell konfigurieren

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json bearbeiten:

{
  "mcpServers": {
    "citetrue": {
      "command": "npx",
      "args": ["-y", "@citetrue/mcp-server"],
      "env": {
        "CITETRUE_API_KEY": "sk_..."
      }
    }
  }
}

Cursor

Unter Settings → MCP → Add new MCP server dieselbe command/args/env-Struktur wie im Claude-Desktop-JSON unten verwenden.

Windsurf, Zed, weitere

Jeder stdio-MCP-Client funktioniert — gleich wo die Config liegt, dieselben drei Felder (command, args, env).

Konfiguration

Env-VariableStandardHinweise
CITETRUE_API_KEY— (Pflicht)Bearer-Token aus dem Dashboard.
CITETRUE_API_URLhttps://api.citetrue.comFür selbstgehostete Deployments überschreiben.

Tools

verify

Split a free-form text blob into individual references and verify each. depth selects accuracy vs. cost.

Parameter

Supply exactly one of text, refHash, or taskHash:

  • text string — raw text containing one or more references. Accepts numbered lists, bullets, blank-line-separated, BibTeX, or in-text prose with author-year citations (when depth ≥ 5). Max 10MB.
  • refHash string — upgrade a single prior reference to a deeper run. Requires depth ≥ 5 and parentTaskHash.
  • parentTaskHash string — required when using refHash; the original task that produced the ref.
  • taskHash string — resume a previously-started task; replays cached state. No re-billing.
  • depth 1 | 5, optional, default 1 1 fast (1 credit/ref); 5 deep (5 credits/ref). 20 exists as a closed-beta tier and is not enabled for public use.
  • force bool, optional — bypass cached results (forces a fresh run, charges full cost).

Ausgabe

{
  "taskHash": "...",
  "refs": [
    {
      "hash": "a1b2c3...",
      "text": "[1] Vaswani, A., Shazeer, N., Parmar (2017)...",
      "assessment": "authentic",
      "value": {
        "type": "citation",
        "title": "Attention is all you need",
        "authors": ["A Vaswani", "N Shazeer", "N Parmar"],
        "year": 2017,
        "url": "https://..."
      },
      "note": "",
      "notices": [],
      "data": { "depth": 1, "cost": 1 }
    }
  ],
  "cost": 2,
  "balance": 248
}

data.depth is the highest depth that has run on the ref (1 or 5). Clients derive a "deep-verified" flag locally as depth ≥ 5. note is a free-form one-line natural-language explanation in English (intended for end-user display); for programmatic checks, match on notices[] instead.

Assessment values

  • authentic — paper exists and is the one cited; value contains the matched paper.
  • unsure— found something but can't confirm; notices and confidence describe why.
  • inauthentic — definitively not found / fabricated / unrelated.
  • invalid— input wasn't a citation; pipeline refused to search.
  • error — verification failed on this ref; data.errors[] lists tokens.
  • exceeded — credits ran out before this ref ran.

Abrechnung

1 credit per ref for depth=1, 5 credits per ref for depth=5.

Fehlerbehebung

If the server fails to start, ensure npx is on PATH and CITETRUE_API_KEY is set.