enterprise-knowledge-integrator
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@enterprise-knowledge-integratorSearch our knowledge base for the employee onboarding checklist and cite sources."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ Enterprise Knowledge Integrator
Connect Corporate Private Data (PDF, Excel, Word, SQL) to LLMs & AI Agents with Built-in PII Sanitization, Hybrid Search & MCP Server.
Live Dashboard β’ Quickstart β’ MCP Server Setup β’ Architecture β’ API Reference
π Why Enterprise Knowledge Integrator?
Enterprises have fragmented knowledge across PDF policy documents, Excel/CSV financial models, contracts, and ERP notes. Feeding this data directly into LLMs often leads to PII leakage, hallucinations on numbers, and context loss.
Enterprise Knowledge Integrator is an open-source, lightweight, plug-and-play middleware that turns your company's raw files into clean, cited, and secure context for any LLM or AI Agent.
Related MCP server: MCP RAG Server
β¨ Key Features
π Tabular-Aware ETL (Excel & CSV): Converts spreadsheet rows into markdown tables and semantic row groups so LLMs never hallucinate row numbers or formulas.
π‘οΈ Built-in PII & Secret Sanitizer: Automatically detects and masks TCKN, IBANs, Credit Cards, Tax IDs (VKN), phone numbers, and API keys before embedding or prompt injection.
β‘ Hybrid Retrieval (Vector + Okapi BM25 + RRF): Blends dense embeddings with sparse keyword matching using Reciprocal Rank Fusion (RRF) for 100% accuracy on financial codes and numbers.
π₯ Role-Based Access Control (RBAC): Enforces document clearance levels (
Public,Internal,Confidential,Restricted) and department filtering.π Citation & Hallucination Validator: Automatically checks generated LLM answers against source documents and calculates a confidence score.
π Directory Auto-Watcher: Monitors your folders/cloud drive mounts and automatically re-indexes added or modified files.
π Universal Gateways:
Model Context Protocol (MCP) for Cursor, Claude Desktop, Antigravity.
FastAPI REST API with Swagger UI.
Interactive Web Dashboard (Zero extra dependencies required).
LangChain / LangGraph Tool Adapter.
ποΈ System Architecture
graph TD
subgraph Ingestion ["1. Multi-Source Ingestion & ETL"]
F1["π Documents (PDF, Word, Markdown)"]
F2["π Tabular (Excel, CSV)"]
F3["ποΈ Notes & Text Snippets"]
F1 & F2 & F3 --> PII["π‘οΈ PII Masker (TCKN, IBAN, Cards)"]
PII --> Chunk["βοΈ Semantic & Parent-Child Chunker"]
end
subgraph Storage ["2. Storage & Hybrid Search Engine"]
Chunk --> V["V-Store: Cosine Dense Embeddings"]
Chunk --> B["BM25: Sparse Keyword Index"]
V & B --> RRF["π― Reciprocal Rank Fusion (RRF)"]
end
subgraph Governance ["3. Security & Governance"]
RRF --> RBAC["π₯ RBAC & Clearance Filter"]
RBAC --> Val["π Citation & Grounding Validator"]
end
subgraph Interfaces ["4. LLM & Agent Gateways"]
Val --> MCP["β‘ MCP Server (Claude Desktop / Cursor)"]
Val --> API["π FastAPI REST API (/api/v1/context)"]
Val --> UI["π₯οΈ Modern Web Dashboard (/dashboard)"]
Val --> SDK["πΌ LangChain / LangGraph Adapter"]
endβ‘ Quickstart in 60 Seconds
1. Installation
git clone https://github.com/your-username/enterprise-knowledge-integrator.git
cd enterprise-knowledge-integrator
pip install -r requirements.txt2. Launch the Web Dashboard & API
python -m knowledge_integrator.interfaces.api.appOpen your browser at http://localhost:8088/dashboard to access the visual control panel.
π» CLI Usage
Ingest a Text / Policy Note:
python -m knowledge_integrator.interfaces.cli.main ingest-text \
--title "2025 Travel Policy" \
--content "Daily travel allowance is 2,500 TL. Stays above 5,000 TL require CFO approval." \
--category "policy"Ingest Files or Directories (PDF, Excel, CSV, Word, Markdown):
python -m knowledge_integrator.interfaces.cli.main ingest ./company_docs/ --category "finance"Search Knowledge Base:
python -m knowledge_integrator.interfaces.cli.main query "What is the travel budget limit?"List Indexed Documents:
python -m knowledge_integrator.interfaces.cli.main listβ‘ Model Context Protocol (MCP) Server
Connect your corporate knowledge directly into Claude Desktop, Cursor IDE, or Antigravity.
Add this to your claude_desktop_config.json or cursor settings:
{
"mcpServers": {
"company-knowledge": {
"command": "python",
"args": ["-m", "knowledge_integrator.interfaces.cli.main", "serve-mcp"]
}
}
}Available MCP Tools:
search_company_knowledge: Performs hybrid search on private company documents.get_company_context: Returns clean, cited context ready for prompt injection.list_company_documents: Lists all indexed sources and metadata.ingest_company_note: Dynamically saves a new policy or knowledge snippet.
π REST API Reference
Method | Endpoint | Description |
|
| Upload & index file (PDF, Excel, CSV, Word, MD) |
|
| Ingest raw corporate note or rule |
|
| Get cited LLM-ready context block |
|
| Search ranked chunks (Hybrid) |
|
| List all indexed documents |
|
| Delete document and all associated embeddings |
Interactive Swagger documentation available at: http://localhost:8088/docs
π€ Python & LangChain / LangGraph Integration
from knowledge_integrator import KnowledgeEngine
from knowledge_integrator.agentic_cfo_adapter import AgenticCFOKnowledgeAdapter
# 1. Initialize engine
engine = KnowledgeEngine()
# 2. Ingest document
engine.ingest_file("budget_2025.xlsx", category="finance")
# 3. Retrieve LLM context
ctx = engine.get_context_for_llm("What was the Q3 software budget?")
print(ctx.context_text)
# 4. Use as a LangChain / LangGraph Tool for AI Agents
adapter = AgenticCFOKnowledgeAdapter(engine)
agent_tool = adapter.as_langchain_tool()π³ Docker Deployment
docker-compose up -dπ§ͺ Running Tests
python -m pytest knowledge_integrator/tests/ -vπ License
This project is licensed under the MIT License β see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Make your knowledge agent-ready. One MCP endpoint, 5 connectors, 3 search modes.
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.
Let AI agents query data and act across all your business apps via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying enterprise documents (DOCX, PDF, PPTX) using natural language, with hybrid search and MCP integration for Claude Desktop and other agents.MIT
- AlicenseNot gradedqualityCmaintenanceEnables document ingestion, semantic search, and retrieval-augmented generation via MCP tools and REST API, using vector embeddings and intelligent chunking.MIT
- AlicenseNot gradedqualityAmaintenanceProvides a self-hosted knowledge index with document-level permissions, enabling AI agents to retrieve exactly the documents they are authorized to see via MCP. Supports OAuth 2.1, custom embedding models, and runs inside your network.38 npm1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query and manage a document knowledge base via MCP, with RAG-powered search and grounded answers with citations.MIT