knowledgelib-mcp
Search 1,500+ pre-verified, cited knowledge units across 16 domains. 6 tools: query, batch query, get unit, list domains, suggest topics, report issues. Free, no API key required.
README
knowledgelib.io
AI Knowledge Library — structured, cited knowledge units for AI agents. Pre-verified answers that save tokens, reduce hallucinations, and cite every source.
What is this?
1,564 knowledge units across 16 domains (consumer electronics, software, business strategy, ERP integration, compliance, energy, finance, and more). Each unit answers one canonical question with:
- Confidence scores (0.0-1.0) per published methodology
- Inline source citations from 5-8 authoritative sources
- Freshness tracking with verified dates and temporal validity
- Quality status — verified, needs_review, or unreliable
- Knowledge graph — related units with typed edges
One API call replaces 5 web searches and 8,000 tokens of parsing.
Quick Start
MCP Server (Claude, Cursor, Windsurf)
npx knowledgelib-mcp
Or add to claude_desktop_config.json:
{
"mcpServers": {
"knowledgelib": {
"command": "npx",
"args": ["knowledgelib-mcp"]
}
}
}
MCP over HTTP (no install needed)
POST https://knowledgelib.io/mcp
Streamable HTTP transport, JSON-RPC 2.0, MCP spec 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/health
LangChain (Python)
pip install langchain-knowledgelib
from langchain_knowledgelib import KnowledgelibRetriever
retriever = KnowledgelibRetriever()
docs = retriever.invoke("best wireless earbuds")
n8n
npm install n8n-nodes-knowledgelib
MCP Tools
| Tool | Description | Read-only |
|---|---|---|
query_knowledge |
Search across all knowledge units with filters | Yes |
batch_query |
Search multiple topics in one call (max 10) | Yes |
get_unit |
Retrieve full markdown content by ID | Yes |
list_domains |
List all domains with unit counts | Yes |
suggest_question |
Submit a topic request for new unit creation | No |
report_issue |
Flag incorrect, outdated, or broken content | No |
All read-only tools are marked with readOnlyHint: true and idempotentHint: true per MCP spec 2025-03-26, enabling parallel execution by agents.
API Features
- Structured error codes with retryable flag and retry_after_ms
- ETag / If-None-Match caching (304 Not Modified)
- Correlation IDs (X-Request-Id header on all responses)
- Quality status (verified / needs_review / unreliable) on all results
- Related units for knowledge graph traversal
- Content previews (150-char summaries without fetching full unit)
- Token budgeting (total_tokens across results)
- Rate limiting on write endpoints (10 suggestions/hr, 20 feedback/hr)
- Zod validation with per-field error messages
Entity Types
| Type | Count | Description |
|---|---|---|
| product_comparison | 418 | Best-of roundups with decision logic and buy links |
| concept | 336 | Definitions of terms agents often get wrong |
| software_reference | 239 | Code examples, anti-patterns, decision trees |
| execution_recipe | 202 | Step-by-step implementation plans |
| erp_integration | 166 | API capabilities, rate limits, data mapping |
| agent_prompt | 55 | System prompts for pipeline sub-agents |
| assessment | 54 | Structured scoring frameworks |
| decision_framework | 35 | Decision trees with trade-offs |
| benchmark | 28 | Industry benchmarks by segment |
| rule | 28 | Actionable directives with evidence |
Discovery
- /llms.txt — Plain-text guide for LLMs
- /llms-full.txt — Complete index of all questions
- /.well-known/ai-knowledge.json — Machine-readable manifest
- /catalog.json — Full catalog with metadata
- /for-agents — Integration guide
Links
- Website: https://knowledgelib.io
- npm: https://www.npmjs.com/package/knowledgelib-mcp
- PyPI: https://pypi.org/project/langchain-knowledgelib/
- HTTP MCP: https://knowledgelib.io/mcp
- OpenAPI: https://knowledgelib.io/api/v1/openapi.json
- GPT Actions: https://knowledgelib.io/.well-known/openapi-gpt.json
License
CC BY-SA 4.0
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。