knowledgelib-mcp
knowledgelib.io
Biblioteca de conocimiento para IA: unidades de conocimiento estructuradas y citadas para agentes de IA. Respuestas preverificadas que ahorran tokens, reducen las alucinaciones y citan cada fuente.
¿Qué es esto?
1.564 unidades de conocimiento en 16 dominios (electrónica de consumo, software, estrategia empresarial, integración ERP, cumplimiento, energía, finanzas y más). Cada unidad responde a una pregunta canónica con:
Puntuaciones de confianza (0.0-1.0) según la metodología publicada
Citas de fuentes integradas de 5-8 fuentes autorizadas
Seguimiento de frescura con fechas verificadas y validez temporal
Estado de calidad: verificado, needs_review (necesita revisión) o unreliable (poco fiable)
Grafo de conocimiento: unidades relacionadas con bordes tipados
Una llamada a la API reemplaza 5 búsquedas web y 8.000 tokens de análisis.
Related MCP server: Scientific Tools MCP Server
Inicio rápido
Servidor MCP (Claude, Cursor, Windsurf)
npx knowledgelib-mcpO añádelo a claude_desktop_config.json:
{
"mcpServers": {
"knowledgelib": {
"command": "npx",
"args": ["knowledgelib-mcp"]
}
}
}MCP sobre HTTP (no requiere instalación)
POST https://knowledgelib.io/mcpTransporte HTTP transmitible, JSON-RPC 2.0, especificación MCP 2025-03-26.
API REST
# 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-knowledgelibHerramientas MCP
Herramienta | Descripción | Solo lectura |
| Buscar en todas las unidades de conocimiento con filtros | Sí |
| Buscar múltiples temas en una sola llamada (máx. 10) | Sí |
| Recuperar el contenido completo en markdown por ID | Sí |
| Listar todos los dominios con recuento de unidades | Sí |
| Enviar una solicitud de tema para la creación de una nueva unidad | No |
| Marcar contenido incorrecto, desactualizado o roto | No |
Todas las herramientas de solo lectura están marcadas con readOnlyHint: true e idempotentHint: true según la especificación MCP 2025-03-26, lo que permite la ejecución paralela por parte de los agentes.
Características de la API
Códigos de error estructurados con indicador de reintento y retry_after_ms
Caché ETag / If-None-Match (304 No modificado)
IDs de correlación (encabezado X-Request-Id en todas las respuestas)
Estado de calidad (verificado / needs_review / unreliable) en todos los resultados
Unidades relacionadas para el recorrido del grafo de conocimiento
Vistas previas de contenido (resúmenes de 150 caracteres sin obtener la unidad completa)
Presupuesto de tokens (total_tokens en todos los resultados)
Limitación de tasa en puntos finales de escritura (10 sugerencias/hora, 20 comentarios/hora)
Validación Zod con mensajes de error por campo
Tipos de entidad
Tipo | Recuento | Descripción |
product_comparison | 418 | Resúmenes de "lo mejor de" con lógica de decisión y enlaces de compra |
concept | 336 | Definiciones de términos que los agentes suelen entender mal |
software_reference | 239 | Ejemplos de código, antipatrones, árboles de decisión |
execution_recipe | 202 | Planes de implementación paso a paso |
erp_integration | 166 | Capacidades de API, límites de tasa, mapeo de datos |
agent_prompt | 55 | Prompts del sistema para subagentes de canalización |
assessment | 54 | Marcos de puntuación estructurados |
decision_framework | 35 | Árboles de decisión con compensaciones |
benchmark | 28 | Puntos de referencia de la industria por segmento |
rule | 28 | Directivas accionables con evidencia |
Descubrimiento
/llms.txt — Guía de texto plano para LLMs
/llms-full.txt — Índice completo de todas las preguntas
/.well-known/ai-knowledge.json — Manifiesto legible por máquina
/catalog.json — Catálogo completo con metadatos
/for-agents — Guía de integración
Enlaces
Sitio web: https://knowledgelib.io
HTTP MCP: https://knowledgelib.io/mcp
GPT Actions: https://knowledgelib.io/.well-known/openapi-gpt.json
Licencia
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-