Src To Kb logo

Src To Kb

by vezlo

Converts code repositories and Notion content into searchable knowledge bases with chunking, embeddings, REST, and MCP support.

Install Src To Kb

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vezlo-src-to-kb": {
      "command": "npx",
      "args": [
        "-y",
        "@vezlo/src-to-kb-mcp"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y @vezlo/src-to-kb-mcp

npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/@vezlo%2fsrc-to-kb-mcp - Not found npm error 404 npm error 404 '@vezlo/src-to-kb-mcp@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-21T14_41_09_615Z-debug-0.log

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

vezlo/src-to-kb MCP server converts source code repositories and Notion pages or databases into searchable knowledge bases. It scans content, creates structured documents and chunks, optionally generates OpenAI embeddings, and supports AI-assisted search through local commands or an external server. The package also exposes REST API and MCP entry points for tools such as Claude Code and Cursor. Reach for it when an agent needs searchable context from a codebase or related Notion documentation.

Use cases

  • Index a code repository for developer-focused search
  • Import Notion documentation into a searchable knowledge base
  • Generate embeddings for semantic code queries
  • Send processed content to an external knowledge service
  • Connect a local knowledge base to Claude Code or Cursor

Key features

  • Multi-language repository processing
  • Configurable chunking and code cleaning
  • Optional OpenAI embeddings
  • Notion page and database import
  • Local and external-server search
  • MCP and REST server entry points

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.

24/25 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @vezlo/src-to-kb-mcp (npm)

Adoption & maintenance

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

GitHub stars40Stargazers on the source repository.
Last commit11mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Src To Kb works

What vezlo/src-to-kb MCP server does

The vezlo/src-to-kb MCP server is part of an npm package that turns source repositories into structured knowledge bases. It supports multiple programming languages, including JavaScript, TypeScript, Python, Java, C++, Go, and Rust. The generated data is stored as organized JSON with separate document and chunk content, making it suitable for local search or transfer to another service.

The package can also import Notion pages and databases. Notion content can be stored in a separate local knowledge base, with formatting such as headings, lists, and code blocks preserved. A URL is used to identify the page or database, and the tool determines which type of Notion resource it should fetch.

Search supports three answer modes: End User for simpler responses, Developer for technical explanations, and Copilot for code-focused answers.

How it works

For a local repository, the generator scans files and applies configurable chunking with overlap. Optional cleaning can remove comments and normalize whitespace. By default, local processing creates chunks; the --with-embeddings option adds embeddings. Statistics about the processed codebase are also available.

The package includes separate commands for generation, searching, uploading an existing knowledge base, starting a REST API, and starting the MCP server. The src-to-kb-mcp-install command can automatically configure Claude Code or Cursor.

When EXTERNAL_KB_URL is set, processing uses server mode. Depending on the selected flags, the client sends raw content, locally created chunks, or chunks with embeddings to the configured endpoint. EXTERNAL_KB_SEARCH_URL enables search through an external server. The upload command expects a knowledge base containing documents/ and chunks/; embedding uploads also require an embeddings/ directory.

Setup and configuration

Install the package globally with npm, then run the src-to-kb-mcp command to start MCP support. The package also provides src-to-kb, src-to-kb-search, src-to-kb-upload, and src-to-kb-api commands.

The vezlo/src-to-kb MCP server does not document a mandatory environment variable for starting its MCP process. Configuration depends on the workflow: set OPENAI_API_KEY when generating embeddings, NOTION_API_KEY when importing Notion content, and EXTERNAL_KB_URL when sending data to an external knowledge service. EXTERNAL_KB_API_KEY adds authentication for that service, and EXTERNAL_KB_SEARCH_URL points searches at its search endpoint.

For a local repository, pass its path and optionally an output directory. For Notion, use --source=notion with --notion-url; a key can be supplied through the environment or the --notion-key option.

Tools and capabilities

  • Generate knowledge bases from multilingual source repositories.
  • Import individual Notion pages or all pages in a Notion database.
  • Split content into configurable chunks and optionally clean code.
  • Create OpenAI embeddings for semantic search.
  • Search local knowledge bases with selectable answer modes.
  • Upload content to an external REST knowledge service.
  • Start a REST API with Swagger documentation.
  • Start an MCP server and configure it for Claude Code or Cursor.

Limitations and notes

OpenAI-dependent features require an OpenAI API key, and Notion imports require a Notion API key. External-server workflows require compatible endpoints; authenticated deployments additionally use EXTERNAL_KB_API_KEY.

The --with-embeddings option is optional rather than a prerequisite for local generation. In external-server mode, the server may create chunks or embeddings depending on the selected upload mode. The package is licensed under AGPL version 3.

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 Src To Kb

vezlo/src-to-kb is an MCP server that connects source code repositories and Notion content to searchable knowledge bases. Its package includes commands to generate, search, upload, and serve knowledge bases, plus MCP integration for Claude Code and Cursor. It can optionally create OpenAI embeddings for semantic search.

Install it globally with npm using `npm install -g @vezlo/src-to-kb`, then start MCP support with `src-to-kb-mcp`. The package also includes an installer command that can configure Claude Code or Cursor automatically.

Yes, vezlo/src-to-kb supports Cursor integration. Use the included `src-to-kb-mcp-install` command to auto-configure Cursor, or start the MCP server with `src-to-kb-mcp` and configure the client manually.

Yes, it can import individual Notion pages and pages from Notion databases. Set a Notion API key, run `src-to-kb` with `--source=notion` and `--notion-url`, and search the resulting local knowledge base or send the content to an external server.

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 PreviewSrc To Kb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vezlo-src-to-kb?style=directory)](https://allmcps.com/mcp/vezlo-src-to-kb)
HTML Embed
<a href="https://allmcps.com/mcp/vezlo-src-to-kb"><img src="https://allmcps.com/api/badge/vezlo-src-to-kb?style=directory" alt="Src To Kb on AllMCPs" /></a>