MCP Knowledge Gaps logo

MCP Knowledge Gaps

Analyze markdown notes for undefined concepts, rank knowledge gaps, create research questions, and export review queues.

Install MCP Knowledge Gaps

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-knowledge-gaps": {
      "command": "uvx",
      "args": [
        "mcp-knowledge-gaps"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-knowledge-gaps

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The mcp-knowledge-gaps MCP server scans markdown vaults for concepts referenced across notes without a dedicated note. It canonicalizes similar terms, filters noise, and ranks gaps using frequency, region diversity, and novelty. Use it with Obsidian, Logseq, or any folder of Markdown files when you want to identify missing explanations and prioritize follow-up research. Pro features add question generation, long-tail topic sampling, and CSV export.

Use cases

  • Scan an Obsidian vault for concepts without dedicated notes
  • Rank missing explanations by research priority
  • Generate follow-up questions for top knowledge gaps
  • Surface overlooked topics from the low-priority long tail
  • Export a review queue for Anki

Key features

  • Finds concepts mentioned across multiple Markdown notes
  • Uses fuzzy canonicalization and noise filtering
  • Ranks gaps by frequency, diversity, and novelty
  • Generates prioritized research questions
  • Exports high-priority gaps to CSV

Tools5

What MCP Knowledge Gaps lets your agent do. Expand a tool for its parameters.

Self-reported~190 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · mcp-knowledge-gaps (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Knowledge Gaps works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Knowledge Gaps

mcp-knowledge-gaps is an MCP server that connects to Markdown knowledge bases, including Obsidian vaults and Logseq graphs, and exposes tools to find repeated concepts without dedicated notes, rank gaps, generate research questions, sample long-tail topics, and export review queues.

Install it with pip or run it with uvx. Use `pip install mcp-knowledge-gaps` or configure an MCP client to run `uvx mcp-knowledge-gaps`; Python 3.10 or newer is required.

Add a server entry to `claude_desktop_config.json` using `uvx` as the command and `mcp-knowledge-gaps` as its argument.

Provide a license through `KNOWLEDGE_GAPS_LICENSE`, the `--license-key` option, or `~/.mcp-knowledge-gaps/license.jwt`. These methods unlock research-question generation, long-tail sampling, and CSV review-queue export.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Knowledge Gaps AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-knowledge-gaps?style=directory)](https://allmcps.com/mcp/mcp-knowledge-gaps)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-knowledge-gaps"><img src="https://allmcps.com/api/badge/mcp-knowledge-gaps?style=directory" alt="MCP Knowledge Gaps on AllMCPs" /></a>