Skip to main content
Glama
sagarv48

Knowledge Fabric

Knowledge Fabric

Knowledge Fabric is a vendor-neutral evidence retrieval platform.

In plain terms: it helps an assistant find the right context before generating a response. Instead of jumping straight to “an answer,” it returns a structured evidence package that downstream assistants can use for grounded output.

Why this project exists

Many assistant failures come from missing or weak context, not from poor generation quality.
Knowledge Fabric focuses on that retrieval layer so teams can improve relevance, traceability, and trust.

Related MCP server: MCP Knowledge Service

What it does (Phase 1)

  • Ingests source content (markdown, text, html, pdf, docx, pptx)

  • Chunks and normalizes content for retrieval

  • Supports lexical search, vector search, and hybrid fusion

  • Returns evidence packages through MCP tools

  • Tracks retrieval telemetry and evaluation metrics

Architecture

User Query
    ->
Knowledge Fabric
    ->
Evidence Package
    ->
AI Assistant

Retrieval pipeline:

Sources
  ->
Ingestion
  ->
Chunking
  ->
Embeddings
  ->
Lexical + Vector Retrieval
  ->
Hybrid Fusion (RRF)
  ->
Evidence Package

Quick start

git clone <repository-url>
cd knowledge-fabric
python3 -m pip install -e ".[dev]"
docker compose up -d
python3 -m pytest

Run persistent ingestion:

knowledge-fabric-ingest --path sources --recursive --embed

Run MCP server:

knowledge-fabric-mcp

MCP tools

  • retrieve_evidence

  • get_document

  • explain_retrieval

These tools return retrieval outputs and metadata, not final prose answers.

Documentation map

  • docs/README.md

  • docs/architecture.md

  • docs/local-setup.md

  • docs/evidence-package-contract.md

  • docs/retrieval-evaluation.md

  • docs/model-provider-strategy.md

  • docs/security-and-data-boundaries.md

  • docs/deployment-runbook.md

  • docs/phase-1-knowledge-fabric/README.md

Current roadmap

  1. Expand evaluation datasets and benchmarks.

  2. Add optional reranking extension points.

  3. Improve ingestion operational ergonomics for larger corpora.

  4. Continue hardening local-to-production deployment guidance.

Contributing

Contributions are welcome. If you’re fixing a bug or adding retrieval capabilities, please include tests and docs updates in the same change whenever possible.

See CONTRIBUTING.md for full workflow details.

License

Apache License 2.0. See LICENSE.

Non-goals

  • Workflow execution

  • Approval orchestration

  • Product-specific integrations

  • Customer-specific deployment internals

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables any MCP-compatible AI assistant to search, filter, and retrieve information from a local document collection using a hybrid search pipeline with vector, BM25, reranking, and LLM enrichment.
    4
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables document ingestion, semantic search, and retrieval-augmented generation via MCP tools and REST API, using vector embeddings and intelligent chunking.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A local document evidence layer for MCP clients that ingests documents (PDF, Office, images) with optional OCR, indexes them in SQLite FTS, and provides retrieval tools with source coordinates.
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Search your knowledge bases from any AI assistant using hybrid RAG.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sagarv48/knowledge-fabric'

If you have feedback or need assistance with the MCP directory API, please join our Discord server