MCP Hub
Back to servers

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.

glama
Updated
Apr 5, 2026

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

ToolDescriptionRead-only
query_knowledgeSearch across all knowledge units with filtersYes
batch_querySearch multiple topics in one call (max 10)Yes
get_unitRetrieve full markdown content by IDYes
list_domainsList all domains with unit countsYes
suggest_questionSubmit a topic request for new unit creationNo
report_issueFlag incorrect, outdated, or broken contentNo

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

TypeCountDescription
product_comparison418Best-of roundups with decision logic and buy links
concept336Definitions of terms agents often get wrong
software_reference239Code examples, anti-patterns, decision trees
execution_recipe202Step-by-step implementation plans
erp_integration166API capabilities, rate limits, data mapping
agent_prompt55System prompts for pipeline sub-agents
assessment54Structured scoring frameworks
decision_framework35Decision trees with trade-offs
benchmark28Industry benchmarks by segment
rule28Actionable directives with evidence

Discovery

Links

License

CC BY-SA 4.0

Reviews

No reviews yet

Sign in to write a review