MCP Rag Server MCP Server

MCP RAG Serverは、Model Context Protocol (MCP)に準拠したRAG(Retrieval-Augmented Generation)機能を持つPythonサーバーです。マークダウン、テキスト、パワーポイント、PDFなど複数の形式のドキュメントをデータソースとして、

Local serverstdioPython

What is the MCP Rag Server MCP server?

Connect MCP Rag Server to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP RAG Serverは、Model Context Protocol (MCP)に準拠したRAG(Retrieval-Augmented Generation)機能を持つPythonサーバーです。マークダウン、テキスト、パワーポイント、PDFなど複数の形式のドキュメントをデータソースとして、multilingual-e5. The mcp rag server mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • command — uv(推奨)またはpython
  • args — 実行引数の配列
  • query — 検索クエリ(必須)
  • limit — 返す結果の数(デフォルト: 5)
  • with_context — 前後のチャンクも取得するかどうか(デフォルト: true)
  • context_size — 前後に取得するチャンク数(デフォルト: 1)
  • full_document — ドキュメント全体を取得するかどうか(デフォルト: false)
  • mcp-rag — serverのコードベース
  • search — The search tool exposed by this server
  • get_document_count — The get_document_count tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: POSTGRES_HOST. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at pgvector/pgvector on a container image and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Rag Server's toolset — command, args, query and 7 more — is a fair guide to whether it matches your workflow. It is maintained by karaage0703; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Rag Server's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Rag Server.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
commanduv(推奨)またはpython
args実行引数の配列
query検索クエリ(必須)
limit返す結果の数(デフォルト: 5)
with_context前後のチャンクも取得するかどうか(デフォルト: true)
context_size前後に取得するチャンク数(デフォルト: 1)
full_documentドキュメント全体を取得するかどうか(デフォルト: false)
mcp-ragserverのコードベース
searchThe search tool exposed by this server.
get_document_countThe get_document_count tool exposed by this server.

How to install the MCP Rag Server MCP server

{
  "mcpServers": {
    "mcp-rag-server": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/mcp-rag-server",
        "python",
        "-m",
        "src.main"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
POSTGRES_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use MCP Rag Server to command.
  • Use MCP Rag Server to args.
  • Use MCP Rag Server to query.

Frequently asked questions

It connects MCP Rag Server to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (command, args, query, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Rag Server directly.