raglite-toolkit
Semantic search, cited answers, an MCP server and agent tools over your documents, in a few lines of TypeScript.
Potencialize seu agente
O comando do próprio publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
npx -y [email protected]O Claude Code não tem link de instalação para um comando local. Copie o comando abaixo e execute-o em um terminal.
claude mcp add raglite-toolkit -- npx -y raglite-toolkit@2.2.0Execute em um terminal.
{ "mcpServers": { "raglite-toolkit": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirRAGLite indexes PDFs, Word files, Markdown, text, JSON, folders and web pages, then searches them and answers questions with any LLM, citing the passages it used.
raglite eval to measure retrieval on your own questionsRequires Node.js 20 or later.
npm install raglite-toolkit
npm install @huggingface/transformers # local embeddings (the default), no API key
npm install @ai-sdk/anthropic # Claude answers; see Providers for the others
import { Document } from "raglite-toolkit";
const doc = new Document("./policy.pdf", {
llm: { provider: "anthropic", apiKey: process.env.ANTHROPIC_API_KEY },
});
await doc.build();
const hits = await doc.search("refund policy", { topK: 3 });
const answer = await doc.ask("What is the refund policy?");
console.log(answer.text); // "Refunds are issued within 30 days [1]."
console.log(answer.citations); // [{ n: 1, source: "policy.pdf", page: 12, text: "..." }]
raglite eval scores recall@k, MRR and hit rate on your questionsasTool() for the Vercel AI SDKThe same library for Python: raglite-toolkit on PyPI (source). Every page of the documentation has TypeScript and Python tabs.
See CONTRIBUTING.md. Security issues: SECURITY.md.
MIT
Build semantic search, multi-provider question answering, and REST APIs over your documents in a few lines of TypeScript.
{ "mcpServers": { "raglite-toolkit": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
Raglite Toolkit roda localmente via stdio.
Última verificação: 2026-10-28. Build semantic search, multi-provider question answering, and REST APIs over your documents in a few lines of TypeScript.