raglite-toolkit
Semantic search, cited answers, an MCP server and agent tools over your documents, in a few lines of TypeScript.
Power your agent
คำสั่งของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
npx -y [email protected]Claude Code ไม่มีลิงก์ติดตั้งสำหรับคำสั่งแบบโลคัล ให้คัดลอกคำสั่งด้านล่างแล้วรันในเทอร์มินัล
claude mcp add raglite-toolkit -- npx -y raglite-toolkit@2.2.0รันในเทอร์มินัล
{ "mcpServers": { "raglite-toolkit": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน 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.
เปิดRAGLite 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]" ] } }}เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Raglite Toolkit ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 Build semantic search, multi-provider question answering, and REST APIs over your documents in a few lines of TypeScript.