io.github.onetrueclaude-creator/mcp-knowledge-gaps
Exports a CSV of top-priority gap concepts suitable for import into Anki or other spaced-repetition tools.
Scans a Logseq graph for concepts mentioned in multiple notes but lacking their own dedicated note, identifying knowledge gaps.
Scans an Obsidian vault for concepts mentioned in multiple notes but lacking their own dedicated note, identifying knowledge gaps.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.onetrueclaude-creator/mcp-knowledge-gaps find gaps in my Obsidian vault"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-gapsRelated MCP server: exocortex
Usage
Claude Code
claude mcp add mcp-knowledge-gaps -- mcp-knowledge-gapsClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"knowledge_gaps": {
"command": "uvx",
"args": ["mcp-knowledge-gaps"]
}
}
}MCP Tools
Tool | Tier | Description |
| Free | Scan a markdown vault and return concepts mentioned in multiple notes but without their own dedicated note. Applies fuzzy canonicalization and noise filtering. |
| Free | Return gaps ranked by priority: frequency × diversity × novelty (higher = fill this gap first). |
| Pro | Generate prioritized research questions for the top N gaps. Each question comes with a priority score and factor breakdown. |
| Pro | Sortition sampling — pick a random gap from the LOW-priority long tail. Breaks confirmation bias by surfacing topics you'd never pick yourself. |
| 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.jwtLicenses 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
Available Tools
5 toolsexport_review_queueB
[Pro] Export a CSV of top-priority gap concepts for Anki or other spaced-repetition tools. Writes to output_csv and returns the row count.
Inputs: vault_path (required), output_csv (required), limit. Returns: result
find_gapsARead-only
Scan a markdown vault and return concepts mentioned in multiple notes but without their own dedicated note. Applies fuzzy canonicalization and noise filtering.
Inputs: vault_path (required), min_references, limit. Returns: result
generate_research_questionsARead-only
[Pro] Generate prioritized research questions for the top N gaps. Each question comes with a priority score and factor breakdown.
Inputs: vault_path (required), n. Returns: result
list_gaps_by_priorityBRead-only
Return gaps ranked by priority: frequency × diversity × novelty (higher = fill first).
Inputs: vault_path (required), limit. Returns: result
surprise_research_topicARead-only
[Pro] Sortition sampling — pick n random gaps from the LOW-priority long tail. Breaks confirmation bias by surfacing topics you'd never pick yourself.
Inputs: vault_path (required), n. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: scanning vaults, listing gaps, exporting, generating questions, and random sampling. No overlapping functionality.
All tool names follow the verb_noun pattern in snake_case, making them predictable and easy to understand.
With 5 tools, the set is well-scoped for knowledge gap analysis, covering detection, prioritization, generation, and export without excess.
The toolset covers core workflows (scan, list, generate, export, serendipity), but lacks a tool for manual gap management or integration with note-taking.
Maintenance
Related MCP Connectors
Research-backed lint + generation for agent context files (CLAUDE.md, AGENTS.md) + prompt enhancer.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Personal context for every AI: search, read, and write back to your private Markdown library.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered knowledge base management with automated wiki-linking, content generation from titles, web research summarization, and knowledge graph integrity maintenance for Markdown files.23 npm3MIT
- AlicenseNot gradedqualityCmaintenanceProvides retrieval and graph tools for agents to search, backlink, and navigate a markdown-based knowledge vault, enabling hybrid search and serendipitous discovery.1MIT
- AlicenseAqualityDmaintenanceScans markdown vaults to detect contradictory claims (quantitative and negation) between notes with high concept overlap, and provides tools for analysis and reconciliation.424 PyPIMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to explore and analyze a markdown vault as a traversable knowledge graph, with tools for searching, traversing, and finding implicit semantic connections between notes.-