Back to selected projects

Developer toolsOpen-source project

NekoSearch

A read-only MCP server for searching local documentation snapshots, with versioned sources and optional hybrid retrieval.

  • TypeScript
  • Node.js
  • SQLite
  • MCP

The problem

Documentation search often depends on a hosted index or a network connection. I wanted a way to search local, versioned documentation snapshots and expose the results to AI tools without giving those tools write access to the source material.

My work

I built NekoSearch as a command-line tool and read-only Model Context Protocol (MCP) server. It can index Markdown and MDX documentation, including curated NestJS sources, then provide search and document-fetch operations over stdio. Once a snapshot is available locally, those operations do not require a hosted search service.

SQLite FTS5 and BM25 provide the default lexical search. An optional local Qwen3 embedding path adds hybrid retrieval on supported Linux x64 setups.

From snapshot to search
  1. Versioned docsMarkdown / MDX
  2. Local indexSQLite FTS5
  3. Search and fetchMCP · stdio

Engineering decisions

  • Keep the integration read-only. The MCP interface searches and fetches indexed documents; it does not modify the source snapshots.
  • Make snapshots inspectable. Documentation sources are versioned so a search can be tied to the material indexed for a particular release.
  • Keep local search useful on its own. Lexical retrieval is the baseline; embeddings can be enabled when the local environment supports them.

What you can inspect

The documentation site describes setup and usage. The repository contains the CLI, MCP server, snapshot tooling, and search implementation.

The embedding path is optional and has platform requirements. NekoSearch is a developer tool for local documentation; it does not provide a hosted documentation corpus by itself.