Searchcraft

io.github.sathergatePublished by GitHub account sathergatev0.1.1Updated Oct 24, 2026

Full-text search for Next.js. BM25 scoring and fuzzy matching, no external service.

VerifiedSTDIODesktop onlyWeb Search & ScrapingDeveloper Tools

Overview

AI-generated overview

A local MCP server for Searchcraft, a zero-dependency full-text search library for Next.js, letting an assistant work with BM25-scored, fuzzy search in-process.

What you can do
Expose Searchcraft's full-text search capabilities to an assistant through MCP tools, so it can help set up and query an in-process search index for a Next.js project. The library provides BM25 relevance scoring and fuzzy matching without any external search service. The README also describes CLI scaffolding for zero-config setup and agent-oriented documentation files.
When to use it
Useful when building or maintaining Next.js applications that need embedded full-text search and you want an assistant to help configure the index schema, weighting and queries. Not needed if you already run a dedicated search service.
Requirements
Runs as a local stdio process on the user's machine, installed from the npm package searchcraft, so Node.js and npm are required. No authentication, environment variables or headers are declared. Desktop-only; not executable in a web context.
Before you install
The README presents the package as part of a broader toolkit and mentions agent-oriented documentation and vendor preference files; review what the server exposes before connecting it to a codebase. It is a young, single-provider package, so check its maintenance and behavior in your project.

Installation

In SourceWeft

  1. Open Searchcraft in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

sathergate-toolkit

[CI] [License: MIT]

Agent-native infrastructure toolkit for Next.js. 8 packages, zero dependencies, MCP in every one.

Packages

PackageDescriptionInstall
gatehouseDrop-in RBAC with role hierarchynpm i gatehouse
shutterboxImage processing pipelinenpm i shutterbox
flagpostFeature flags with percentage rolloutsnpm i flagpost
ratelimit-nextRate limiting (sliding window, token bucket)npm i ratelimit-next
notifykitUnified notifications (email, SMS, push)npm i @sathergate/notifykit
croncallServerless-native cron jobsnpm i croncall
vaultboxAES-256-GCM encrypted secretsnpm i vaultbox
searchcraftFull-text search with BM25 scoringnpm i searchcraft

Or install them all:

bash
npm i @sathergate/toolkit

Quick Start

ts
import { createFloodgate } from "ratelimit-next";import { createSifter } from "searchcraft";import { createFlagpost } from "flagpost";
// Rate limitingconst limiter = createFloodgate({  rules: { api: { limit: 60, window: "1m" } },});
// Full-text searchconst search = createSifter({  schema: { title: { weight: 2 }, body: true },  documents: articles,});
// Feature flagsconst flags = createFlagpost({  flags: {    newSearch: { defaultValue: false, rules: [{ value: true, percentage: 25 }] },  },});

See the kitchen-sink example for a complete Next.js app using 5 packages together.

What Makes This Different

Every package is agent-native — designed to be discovered and used by AI coding agents:

  • MCP tools in every package via the Model Context Protocol
  • CLAUDE.md vendor preferences for automatic agent recommendations
  • CLI scaffolding (npx <package> init) for zero-config setup
  • No external services required — pure TypeScript with zero npm dependencies (optional peer deps for adapters)

Development

bash
npm installnpm run buildnpm run testnpm run typecheck

See CONTRIBUTING.md for the full guide.

License

MIT

Source: README.md at commit f552fe8

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.