PostgreSQL 16 Core ยท Model Context Protocol

Knowledge Base for
Humans and AI Agents.

A high-performance technical knowledge repository. Humans read the web interface; AI assistants connect directly via native MCP tools. Both share one unified database source of truth.

0
DB Documents
4
Active Sections
RRF
FTS + Cosine Vectors
13 Tools
HTTP :4021 MCP
Architecture Schematic

System Topology: Single Core Architecture

Click nodes to inspect
1. Ingestion & Access Layer
โ†“ Protocol Gateway
2. Core Engine & Protocol Layer
โ†“ Persistent Storage Layer
3. Database (Source of Truth)

@mcpedia/core

CORE::PACKAGE

Unified business logic layer shared across Web, MCP Server, REST API, and Background Workers.

Specifications
ArchitectureMonorepo Package
ValidationStrict Type Safety
RankingRRF Hybrid Fusion
Capabilities
  • โœ“Path classification & folder hierarchy
  • โœ“Markdown document chunking & tokenization
  • โœ“Drizzle ORM transactional schema mapping

Knowledge Sections

Documentation

Setup guides, API references, and protocol specs.

No documents

Writeups

Post-mortems, CTF writeups, debugging stories, and case studies.

No documents

๐Ÿ”ฌ0 docs โ†’

Research

Deep-dive analysis, architecture notes, and experiments.

No documents

Notes

Quick references, patterns, and cheat-sheets.

No documents

[ MCP_INTEGRATION ]

Model Context Protocol Configuration

Equip Claude Desktop, Cursor, Antigravity, or custom agents with direct access to your knowledge base via semantic search, read resources, and document tools.

json
{
  "mcpServers": {
    "mcpedia": {
      "command": "bun",
      "args": ["run", "/path/to/mcpedia/apps/mcp/src/index.ts"],
      "env": {
        "DATABASE_URL": "postgresql://postgres:password@localhost:5432/mcpedia",
        "OPENROUTER_API_KEY": "sk-or-v1-..."
      }
    }
  }
}
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
[ 13_TOOLS_ACTIVE ]