Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_knowledge_gaps-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_knowledge_gaps-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file mcp_knowledge_gaps-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_knowledge_gaps-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for mcp_knowledge_gaps-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a159df5abacd12663149341bc6bfe1c6f7f6660e15a242fc8a0bdd65a8222e5
MD5 b377e8f76ae831bb0bf6a679b1907ded
BLAKE2b-256 2fd17d366552c275a7ba3a2003b740e065f365553a4b5ddadf3a0a2b8cec033e

See more details on using hashes here.

File details

Details for the file mcp_knowledge_gaps-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_knowledge_gaps-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f8f52042835d4f83ddcd2f68a49c939beee42d0ecd90c38d574786167c936a3
MD5 353fdaf76b05f09ce749bfe8fd19ea7d
BLAKE2b-256 d3f3116bc1460d30eb0763090f06e6977f9482f24209580068384087563035ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page