enterprise-knowledge-integrator
🧠 Enterprise Knowledge Integrator
企業のプライベートデータ(PDF、Excel、Word、SQL)をLLM&AIエージェントに接続。PIIサニタイズ、ハイブリッド検索、MCPサーバーを内蔵。
ライブダッシュボード • クイックスタート • MCPサーバー設定 • アーキテクチャ • APIリファレンス
🌟 Enterprise Knowledge Integratorが選ばれる理由
企業の知識は、PDFのポリシー文書、Excel/CSVの財務モデル、契約書、ERPメモなどに断片的に散在しています。このデータを直接LLMに与えると、PII漏洩、数値に関する幻覚(ハルシネーション)、コンテキストの喪失を引き起こすことがよくあります。
Enterprise Knowledge Integratorは、オープンソースで軽量なプラグ&プレイ型ミドルウェアであり、企業の生ファイルを、あらゆるLLMやAIエージェント向けのクリーンで引用付き、安全なコンテキストに変換します。
Related MCP server: doc-intel MCP server
✨ 主な機能
📄 表形式対応ETL(Excel&CSV): スプレッドシートの行をマークダウンテーブルと意味的な行グループに変換し、LLMが行番号や数式を幻覚(ハルシネーション)しないようにします。
🛡️ 内蔵PII&シークレットサニタイザー: TCKN、IBAN、クレジットカード、納税者番号(VKN)、電話番号、APIキーを、埋め込みやプロンプトインジェクションの前に自動検出してマスキングします。
⚡ ハイブリッド検索(ベクター+Okapi BM25+RRF): 密な埋め込みと疎なキーワードマッチングを、Reciprocal Rank Fusion(RRF)を使用してブレンドし、財務コードや数値に対して100%の精度を実現します。
👥 ロールベースアクセス制御(RBAC): 文書の機密レベル(
Public、Internal、Confidential、Restricted)と部門フィルタリングを強制します。🔍 引用&幻覚バリデータ: 生成されたLLMの回答をソース文書と照合して自動チェックし、信頼度スコアを計算します。
🔄 ディレクトリ自動監視: フォルダやクラウドドライブのマウントを監視し、追加・変更されたファイルを自動的に再インデックス化します。
🔌 ユニバーサルゲートウェイ:
Cursor、Claude Desktop、Antigravity向けのModel Context Protocol(MCP)。
Swagger UI付きFastAPI REST API。
インタラクティブWebダッシュボード(追加依存関係ゼロ)。
LangChain / LangGraphツールアダプター。
🏛️ システムアーキテクチャ
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⚡ 60秒で始めるクイックスタート
1. インストール
git clone https://github.com/your-username/enterprise-knowledge-integrator.git
cd enterprise-knowledge-integrator
pip install -r requirements.txt2. WebダッシュボードとAPIを起動
python -m knowledge_integrator.interfaces.api.appブラウザで http://localhost:8088/dashboard を開き、ビジュアルコントロールパネルにアクセスします。
💻 CLIの使用方法
テキスト/ポリシーメモを取り込む:
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"ファイルまたはディレクトリを取り込む(PDF、Excel、CSV、Word、Markdown):
python -m knowledge_integrator.interfaces.cli.main ingest ./company_docs/ --category "finance"ナレッジベースを検索:
python -m knowledge_integrator.interfaces.cli.main query "What is the travel budget limit?"インデックス化された文書を一覧表示:
python -m knowledge_integrator.interfaces.cli.main list⚡ Model Context Protocol(MCP)サーバー
企業の知識をClaude Desktop、Cursor IDE、またはAntigravityに直接接続します。
これを claude_desktop_config.json または cursor settings に追加します:
{
"mcpServers": {
"company-knowledge": {
"command": "python",
"args": ["-m", "knowledge_integrator.interfaces.cli.main", "serve-mcp"]
}
}
}利用可能なMCPツール:
search_company_knowledge: 企業の社内文書に対してハイブリッド検索を実行します。get_company_context: プロンプトインジェクション用のクリーンで引用付きのコンテキストを返します。list_company_documents: インデックス化されたすべてのソースとメタデータを一覧表示します。ingest_company_note: 新しいポリシーや知識スニペットを動的に保存します。
🌐 REST APIリファレンス
メソッド | エンドポイント | 説明 |
|
| ファイルをアップロードしてインデックス化(PDF、Excel、CSV、Word、MD) |
|
| 生の社内メモやルールを取り込む |
|
| 引用付きのLLM対応コンテキストブロックを取得 |
|
| ランク付けされたチャンクを検索(ハイブリッド) |
|
| インデックス化されたすべての文書を一覧表示 |
|
| 文書と関連するすべての埋め込みを削除 |
インタラクティブなSwaggerドキュメントは http://localhost:8088/docs で利用可能です。
🤖 Python&LangChain / LangGraph統合
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デプロイメント
docker-compose up -d🧪 テストの実行
python -m pytest knowledge_integrator/tests/ -v📄 ライセンス
このプロジェクトはMITライセンスの下でライセンスされています。詳細は LICENSE ファイルを参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables querying enterprise documents (DOCX, PDF, PPTX) using natural language, with hybrid search and MCP integration for Claude Desktop and other agents.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to extract structured data from PDFs with confidence scores and provenance, and to search, review, and correct documents via MCP tools, resources, and prompts.
- 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.41Apache 2.0
Related MCP Connectors
Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Enesp4rl4k/enterprise-knowledge-integrator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server