premagentic

Level CLocal

Self-hosted MCP server for governed retrieval. Agents get cited passages from your Markdown, text, PDF, Word and Excel files, and only what their person or group may read, enforced in PostgreSQL before ranking. Superseded, stale and unreviewed machine-written text is held back. Local embeddings, stock PostgreSQL.

⭐ 1DatabaseC#Repo ↗Updated 2026-10-14

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "premagentic": {
      "command": "npx",
      "args": [
        "ghcr.io/premagentic/premagentic-mcp:0.1.0"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/premagentic/premagentic

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "premagentic": {
      "command": "npx",
      "args": [
        "ghcr.io/premagentic/premagentic-mcp:0.1.0"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers