knowledgelib-mcp
knowledgelib.io
AIナレッジライブラリ — AIエージェント向けの構造化され、引用元が明記されたナレッジユニット。トークンを節約し、ハルシネーションを低減し、すべてのソースを引用する事前検証済みの回答を提供します。
これは何ですか?
16のドメイン(家電、ソフトウェア、ビジネス戦略、ERP統合、コンプライアンス、エネルギー、金融など)にわたる1,564のナレッジユニット。各ユニットは1つの標準的な質問に対し、以下を提供します:
信頼度スコア (0.0-1.0)(公開された手法に基づく)
インラインソース引用(5〜8つの権威あるソースから)
鮮度追跡(検証済み日付と時間的妥当性付き)
品質ステータス — verified(検証済み)、needs_review(要レビュー)、またはunreliable(信頼性なし)
ナレッジグラフ — 型付きエッジを持つ関連ユニット
1回のAPI呼び出しで、5回のWeb検索と8,000トークンの解析を置き換えます。
Related MCP server: Scientific Tools MCP Server
クイックスタート
MCPサーバー (Claude, Cursor, Windsurf)
npx knowledgelib-mcpまたは claude_desktop_config.json に追加します:
{
"mcpServers": {
"knowledgelib": {
"command": "npx",
"args": ["knowledgelib-mcp"]
}
}
}HTTP経由のMCP (インストール不要)
POST https://knowledgelib.io/mcpストリーミング可能なHTTPトランスポート、JSON-RPC 2.0、MCP仕様 2025-03-26。
REST API
# Search
curl https://knowledgelib.io/api/v1/query?q=best+wireless+earbuds+under+150
# Batch search (up to 10 queries)
curl -X POST https://knowledgelib.io/api/v1/batch \
-H "Content-Type: application/json" \
-d '{"queries":[{"q":"earbuds"},{"q":"headphones"}]}'
# Get full unit
curl https://knowledgelib.io/api/v1/units/consumer-electronics/audio/wireless-earbuds-under-150/2026.md
# Health check
curl https://knowledgelib.io/api/v1/healthLangChain (Python)
pip install langchain-knowledgelibfrom langchain_knowledgelib import KnowledgelibRetriever
retriever = KnowledgelibRetriever()
docs = retriever.invoke("best wireless earbuds")n8n
npm install n8n-nodes-knowledgelibMCPツール
ツール | 説明 | 読み取り専用 |
| フィルターを使用してすべてのナレッジユニットを検索 | はい |
| 1回の呼び出しで複数のトピックを検索(最大10) | はい |
| IDで完全なMarkdownコンテンツを取得 | はい |
| ユニット数を含むすべてのドメインを一覧表示 | はい |
| 新しいユニット作成のためのトピックリクエストを送信 | いいえ |
| 不正確、古い、または壊れたコンテンツを報告 | いいえ |
すべての読み取り専用ツールには、MCP仕様 2025-03-26 に基づき readOnlyHint: true および idempotentHint: true がマークされており、エージェントによる並列実行が可能です。
API機能
構造化されたエラーコード(再試行フラグとretry_after_ms付き)
ETag / If-None-Match キャッシュ (304 Not Modified)
相関ID(すべてのレスポンスにX-Request-Idヘッダー)
品質ステータス(すべての結果にverified / needs_review / unreliableを表示)
関連ユニット(ナレッジグラフのトラバース用)
コンテンツプレビュー(ユニット全体を取得せずに150文字の要約を表示)
トークン予算管理(結果全体のtotal_tokens)
書き込みエンドポイントのレート制限(1時間あたり10件の提案、20件のフィードバック)
Zodバリデーション(フィールドごとのエラーメッセージ付き)
エンティティタイプ
タイプ | 数 | 説明 |
product_comparison | 418 | 意思決定ロジックと購入リンク付きのベストバイまとめ |
concept | 336 | エージェントが誤解しやすい用語の定義 |
software_reference | 239 | コード例、アンチパターン、決定木 |
execution_recipe | 202 | ステップバイステップの実装計画 |
erp_integration | 166 | API機能、レート制限、データマッピング |
agent_prompt | 55 | パイプラインサブエージェント用のシステムプロンプト |
assessment | 54 | 構造化されたスコアリングフレームワーク |
decision_framework | 35 | トレードオフを伴う決定木 |
benchmark | 28 | セグメント別の業界ベンチマーク |
rule | 28 | 証拠に基づく実行可能な指示 |
ディスカバリー
/llms.txt — LLM向けプレーンテキストガイド
/llms-full.txt — すべての質問の完全なインデックス
/.well-known/ai-knowledge.json — 機械可読なマニフェスト
/catalog.json — メタデータを含む完全なカタログ
/for-agents — 統合ガイド
リンク
ウェブサイト: https://knowledgelib.io
HTTP MCP: https://knowledgelib.io/mcp
GPT Actions: https://knowledgelib.io/.well-known/openapi-gpt.json
ライセンス
CC BY-SA 4.0
Available Tools
6 toolsbatch_queryARead-onlyIdempotent
Search multiple topics in a single call. More efficient than calling query_knowledge multiple times — shares a single catalog parse. Max 10 queries per batch.
Inputs: queries (required).
get_unitARead-onlyIdempotent
Retrieve a specific knowledge unit by ID. Returns the full raw markdown with YAML frontmatter, inline source citations, product comparisons, and use-case recommendations.
Inputs: unit_id (required).
list_domainsARead-onlyIdempotent
List all available knowledge domains with unit counts. Use this to discover what topics are covered before querying.
Inputs: no named parameters.
query_knowledgeARead-onlyIdempotent
STEP 1: Search across all knowledgelib.io knowledge units. Returns matching units ranked by relevance with metadata (confidence scores, source counts, token estimates). If no results are found, use suggest_question to request the topic.
Inputs: query (required), domain, region, jurisdiction, +2 more.
report_issueA
Flag incorrect, outdated, or broken content on a knowledge unit. Use this when you notice factual errors, dead links, outdated information, or missing details in a knowledge unit. Reports are reviewed and used to prioritize content updates.
Inputs: card_id (required), type (required), description (required), severity, +1 more.
suggest_questionAIdempotent
STEP 3: Submit a question or topic request to knowledgelib.io. ALWAYS call this when query_knowledge returned no results, or when a user asks about a topic that should be covered. Popular suggestions are prioritized for new knowledge unit creation. The next agent that asks the same question will get an answer.
Inputs: question (required), context, domain.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Tools are mostly distinct with clear purposes. The only potential overlap is between batch_query and query_knowledge (both perform searches), but descriptions clarify that batch_query is for efficiency when searching multiple topics, while query_knowledge is the standard single search entry point. Other tools like report_issue (quality flags) and suggest_question (new content requests) have clearly separated concerns.
All six tools follow a consistent verb_noun pattern using snake_case: batch_query, get_unit, list_domains, query_knowledge, report_issue, suggest_question. Action verbs (batch, get, list, query, report, suggest) are used predictably with clear target nouns.
Six tools is an appropriate, well-scoped count for a knowledge retrieval server. The set covers discovery (list_domains), retrieval (query_knowledge, batch_query, get_unit), and feedback loops (report_issue, suggest_question) without bloat or redundancy.
The surface covers the essential knowledge retrieval lifecycle: domain discovery, flexible search (single and batch), specific unit retrieval, and feedback mechanisms for both corrections and new content requests. Minor gaps include no domain-specific browsing tool and the odd 'STEP 1/STEP 3' labeling suggesting a missing intermediate step, but core workflows are supported.
Related MCP Connectors
Deterministic knowledge for AI agents: search, fetch, cite and verify a 48M-entry knowledge base.
Check whether a real-world fact can be verified before an agent acts on it. Free, no auth.
Cited web evidence and fact checking for AI agents. $0.01 per call, no API key.
Search Fragments is the gate before your agent answers. When a user half-remembers something your agent can't confidently place, one call returns a verdict: ORIGIN_OF_TRUTH (found and evidence-checked, with sources), PARTIAL_ORIGIN (leads worth following, not an answer) or NOT_REACHABLE (our search reached nothing; not a claim it can't be found). Your agent answers and cites, keeps looking, or says it can't place it, instead of inventing. Free, no signup. Also: verify_claim (check a specific factual claim against current sources) and submit_resolution_feedback.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceVerified knowledge base for AI agents. Stop hallucinations with certified, source-backed facts. Covers Swiss law, health, finance, climate, AI/ML, and more. 8 tools, no API key needed, public and free.MIT
- FlicenseAqualityDmaintenanceHigh-value scientific tools for AI agents — literature search (PubMed, arXiv, Semantic Scholar), chemical compound lookup (PubChem, ChEMBL), patent prior art search (USPTO, EPO), GPU spot prices across 4 providers, and real-time earth science data (USGS, NASA, OpenAQ). Per-call billing via API key. Keys issued instantly at https://mcp-site.com/keys/request6-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to fact-check claims, verify citations, and check source freshness using Wikipedia, Wikidata, Crossref, and Wayback Machine.1MIT
- FlicenseBqualityDmaintenanceEnables AI agents to query free biomedical and pharmaceutical APIs for clinical trials, drug data, molecular structures, adverse events, and research literature.14-