# mcp-knowledge-gaps [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/onetrueclaude-creator/mcp-knowledge-gaps  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-knowledge-gaps

## Description
Find what your knowledge base mentions but doesn't actually explain.

## Tools
Capabilities this server exposes over MCP:

- **find_gaps** — 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** — Return gaps ranked by priority: frequency × diversity × novelty (higher = fill this gap first).
- **generate_research_questions** — Generate prioritized research questions for the top N gaps. Each question comes with a priority score and factor breakdown.
- **surprise_research_topic** — 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** — 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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-knowledge-gaps": {
    "command": "uvx",
    "args": ["mcp-knowledge-gaps"]
  }
}
```

## Documentation

## What the mcp-knowledge-gaps MCP server does

The mcp-knowledge-gaps MCP server examines a folder of Markdown files and identifies concepts that appear in multiple notes but do not have a note of their own. This suits Obsidian vaults, Logseq graphs, and other directory-based knowledge bases. The analysis is intended to reveal subjects your notes rely on without explaining directly.

It applies fuzzy canonicalization so related forms of a concept can be treated together, then removes noisy results. Gaps can be ordered using a score based on how often a concept appears, how broadly it is distributed across regions or notes, and how novel it is. Higher-ranked items are candidates to investigate first.

## How it works

The core workflow starts by scanning a Markdown vault. `find_gaps` returns concepts that are mentioned repeatedly without a corresponding dedicated note. `list_gaps_by_priority` organizes those results by the frequency, diversity, and novelty factors used by the project.

The mcp-knowledge-gaps MCP server also provides optional research and review workflows. `generate_research_questions` creates prioritized questions for the highest-ranked gaps and includes each question’s priority score with its factor breakdown. `surprise_research_topic` uses sortition to select a random item from the low-priority long tail, giving the research queue a way to surface less obvious subjects.

## Setup and configuration

Install the package with `pip install mcp-knowledge-gaps` or run it through `uvx mcp-knowledge-gaps`. The documented runtime requirement is Python 3.10 or newer.

For Claude Code, register the command with `claude mcp add mcp-knowledge-gaps -- mcp-knowledge-gaps`. Claude Desktop can start it through a server entry whose command is `uvx` and whose argument is `mcp-knowledge-gaps`.

Pro tools require license activation. You can provide the license through `KNOWLEDGE_GAPS_LICENSE`, the `--license-key` command-line option, or the file `~/.mcp-knowledge-gaps/license.jwt`. License verification is performed offline.

## Tools and capabilities

- `find_gaps`: Find repeated concepts that lack dedicated notes, using fuzzy matching and noise filtering.
- `list_gaps_by_priority`: Rank identified gaps by frequency, diversity, and novelty.
- `generate_research_questions`: Produce prioritized questions for the top N gaps; marked Pro.
- `surprise_research_topic`: Select a random low-priority gap from the long tail; marked Pro.
- `export_review_queue`: Write high-priority gap concepts to a CSV file and return the number of rows; marked Pro.

The exported CSV is described as suitable for Anki or other spaced-repetition tools. The export operation requires an `output_csv` destination.

## Limitations and notes

The project operates on Markdown files and does not document connectors for external knowledge-base services. Its gap detection depends on concepts being mentioned across notes and on the canonicalization and filtering rules producing useful groupings.

Three tools—research-question generation, surprise-topic sampling, and review-queue export—are restricted to the Pro tier. No remote activation service is required for license verification.

_Full upstream README: https://allmcps.com/mcp/mcp-knowledge-gaps/readme_

