MCP Rag Node
MCP server by laskar-ksatria Verified · npm:@laskarks
MCP Rag Node is an MCP server for retrieval-augmented generation. It chunks text, creates embeddings through OpenAI or OpenRouter, and stores them in Pinecone for semantic search.
Install MCP Rag Node
Built from the published package, never by AI.
claude mcp add mcp-rag-node -- npx -y @laskarks/mcp-rag-nodeRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-rag-node": {
"args": [
"-y",
"@laskarks/mcp-rag-node"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-rag-node": {
"args": [
"-y",
"@laskarks/mcp-rag-node"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-rag-node": {
"args": [
"-y",
"@laskarks/mcp-rag-node"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-rag-node -- npx -y @laskarks/mcp-rag-node{
"mcpServers": {
"mcp-rag-node": {
"args": [
"-y",
"@laskarks/mcp-rag-node"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-rag-node npx -y @laskarks/mcp-rag-nodeGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-rag-node block.
About
MCP Rag Node is a Model Context Protocol server for retrieval-augmented generation (RAG). It gives an AI assistant two tools: save_to_rag, which chunks text, creates embeddings and saves them to Pinecone, and search_document_on_rag, which searches documents by semantic similarity. It is built with the official MCP SDK and published on npm as @laskarks/mcp-rag-node.
Embeddings come from OpenAI-compatible APIs, either OpenAI or OpenRouter, selected with the PROVIDER variable. Chunk size and overlap can be set with RAG_CHUNK_MAX_TOKENS and RAG_CHUNK_OVERLAP. The project is aimed at developers who want to add document search to Claude Desktop or Cursor. The Pinecone index dimension must match the chosen embedding model.
Written from the project's README and checked against it.
Tools it gives your assistant
save_to_ragChunks text, creates embeddings, and saves them to Pinecone.search_document_on_ragSearches documents by keyword using semantic similarity.
What you need
- OpenAI or OpenRouter API key
- Pinecone account and API key
- Pinecone index with matching dimension
- Node.js 18 or later
Try asking
- Save this meeting summary to my RAG index
- Search my saved documents for the refund policy
- Find notes about pricing changes in my stored documents
Good to know
- PROVIDER accepts only openai or openrouter.
- The Pinecone index dimension must match the embedding model.
- Requires a Pinecone account and API key.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Rag Node
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
MCP Rag Node: common questions
Which embedding providers does it support?
The source lists OpenAI and OpenRouter as the allowed PROVIDER values. Example models include text-embedding-3-small and voyage-3 via OpenRouter.
Which vector database does it use?
It stores embeddings in Pinecone. The index dimension must match the embedding model, for example 1536 for text-embedding-3-small.
How is text split into chunks?
Text is chunked by RAG_CHUNK_MAX_TOKENS, which defaults to 1536, with RAG_CHUNK_OVERLAP tokens of overlap, which defaults to 50.
How do I install MCP Rag Node?
In Claude Code run claude mcp add mcp-rag-node -- npx -y @laskarks/mcp-rag-node. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Rag Node the official server?
MCP Rag Node is published by npm:@laskarks from its verified domain in the official MCP Registry.
Is MCP Rag Node free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is MCP Rag Node safe to use?
It scores 49 of 100. Grades: maintenance D, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Rag Node?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does MCP Rag Node work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
