io.github.onetrueclaude-creator/mcp-knowledge-gaps
Find what your knowledge base mentions but doesn't actually explain.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-knowledge-gapsclaude mcp add mcp-knowledge-gaps -e 'KNOWLEDGE_GAPS_LICENSE=<your knowledge_gaps_license>' -- uvx mcp-knowledge-gaps==0.1.0
{
"mcpServers": {
"mcp-knowledge-gaps": {
"command": "uvx",
"args": [
"mcp-knowledge-gaps==0.1.0"
],
"env": {
"KNOWLEDGE_GAPS_LICENSE": "<your knowledge_gaps_license>"
}
}
}
}
Environment variables
KNOWLEDGE_GAPS_LICENSEsecret Pro license JWT (optional). Unlocks premium features. See README.
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
mcp-knowledge-gaps
Find what your knowledge base mentions but doesn't actually explain.
Find concepts mentioned but never defined in your markdown knowledge base (Obsidian vault, Logseq graph, any folder of .md files). Uses fuzzy canonicalization to avoid false positives, ranks gaps by frequency × region-diversity × novelty, generates prioritized research questions, and samples from the long tail via sortition to break confirmation bias in your research queue.
Install
pip install mcp-knowledge-gaps
# or
uvx mcp-knowledge-gaps
Usage
Claude Code
claude mcp add mcp-knowledge-gaps -- mcp-knowledge-gaps
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"knowledge_gaps": {
"command": "uvx",
"args": ["mcp-knowledge-gaps"]
}
}
}
MCP Tools
| Tool | Tier | Description |
|---|---|---|
find_gaps | Free | Scan a markdown vault and return concepts mentioned in multiple notes but without their own dedicated note. Applies fuzzy canonicalization and noise filtering. |
list_gaps_by_priority | Free | Return gaps ranked by priority: frequency × diversity × novelty (higher = fill this gap first). |
generate_research_questions | Pro | Generate prioritized research questions for the top N gaps. Each question comes with a priority score and factor breakdown. |
surprise_research_topic | Pro | Sortition sampling — pick a random gap from the LOW-priority long tail. Breaks confirmation bias by surfacing topics you'd never pick yourself. |
export_review_queue | Pro | Export a CSV of top-priority gap concepts, suitable for Anki or other spaced-repetition tools. Writes to output_csv and returns the row count. |
Pro tier
Unlocks research question generation with RL-weighted ranking, sortition sampling of long-tail gaps, and CSV review queue export.
License activation — any one of these works:
# 1. Environment variable
export KNOWLEDGE_GAPS_LICENSE="eyJhbGc..."
# 2. CLI flag
mcp-knowledge-gaps --license-key "eyJhbGc..."
# 3. Config file
echo "eyJhbGc..." > ~/.mcp-knowledge-gaps/license.jwt
Licenses are verified fully offline — no phone-home, no activation server. Get a license at **https://github.com/onetrueclaude-creator/mcp-knowledge-gaps#pro-tier**.
Requirements
- Python 3.10+
License
MIT
Frequently asked questions
What is io.github.onetrueclaude-creator/mcp-knowledge-gaps?
Find what your knowledge base mentions but doesn't actually explain.
How do I install io.github.onetrueclaude-creator/mcp-knowledge-gaps?
It runs on your machine. In Claude Code: claude mcp add mcp-knowledge-gaps -e 'KNOWLEDGE_GAPS_LICENSE=<your knowledge_gaps_license>' -- uvx mcp-knowledge-gaps==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.onetrueclaude-creator/mcp-knowledge-gaps need an API key?
Yes. It expects KNOWLEDGE_GAPS_LICENSE, which you set in its configuration.
Is io.github.onetrueclaude-creator/mcp-knowledge-gaps open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.onetrueclaude-creator/mcp-knowledge-gaps?
It is published by onetrueclaude-creator. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.