🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

rangefind-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rangefind-mcp

MCP server exposing rangefind static search indexes (local or remote; single, generational, or sharded) as tools: search, autocomplete, counts, and index metadata.

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

rangefind-mcp

An MCP server over rangefind static search indexes. Point it at any index — a local directory or an http(s) URL; single, generational, or sharded — and agents get search as tools. No search server behind it: the index is plain files, read with HTTP range requests and cached on disk.

Run

# open mode: tools accept any index path or URL
npx rangefind-mcp

# configured mode: named indexes only
npx rangefind-mcp --index docs=./public/rangefind --index osm=https://cdn.example.com/rangefind/

Claude Code:

claude mcp add rangefind -- npx rangefind-mcp --index docs=./public/rangefind

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "rangefind": {
      "command": "npx",
      "args": ["rangefind-mcp", "--index", "docs=/path/to/rangefind"]
    }
  }
}

Tools

ToolPurpose
rangefind_searchBM25F full-text search with typo correction, facets, filters, sorting, geo (radius / bounding box / nearest-first / distance boost), shard scoping, pagination
rangefind_suggestsearch-as-you-type autocomplete
rangefind_countexact match counts without fetching results
rangefind_infoindex metadata: totals, build time, provenance/license, features, shard list with groups and coverage bboxes
rangefind_list_indexesthe configured index names (configured mode only)

All tools are read-only and return structured content. Errors are actionable tool results (unknown index → the available names; unknown shard → the available shards/groups), not protocol failures.

Programmatic use

import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { createRangefindMcpServer } from "rangefind-mcp";

const server = createRangefindMcpServer({
  indexes: { docs: "./public/rangefind" },
  open: false
});
await server.connect(new StdioServerTransport());

Why this is interesting for agents

A rangefind index is a self-describing corpus: rangefind_info exposes what it contains (including data provenance and, for sharded planet-scale indexes, the geographic shard tree), and every query — text, geo, faceted — runs against static files with no keys, no rate limits, and no per-query cost. Offline corpora work too: point --index at a downloaded directory.

Keywords

mcp

FAQs

Package last updated on 14 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts