npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@surgbc/egw-writings-local-server

v1.0.0

Published

MCP server providing fast access to local EGW Writings database

Readme

@surgbc/egw-writings-local-server

MCP server providing fast access to local EGW Writings database for educational and research purposes.

Overview

This Model Context Protocol (MCP) server provides high-performance access to a locally downloaded EGW Writings database. It offers millisecond search response times and works offline, making it ideal for research and educational applications.

Features

  • Local Database: No internet required after initial setup
  • High Performance: Millisecond search response times with FTS5
  • Full-text Search: Advanced search capabilities with highlighting
  • Reference Navigation: Browse by EGW reference codes (e.g., "AA 15.1")
  • Context Retrieval: Get surrounding paragraphs for better understanding
  • Statistics: Database metrics and content overview
  • Offline Access: Complete independence from API availability

Installation

npm install -g @surgbc/egw-writings-local-server

Prerequisites

You need a populated EGW writings database. Use the downloader tool first:

npx @surgbc/egw-writings-downloader quick-start

Usage

As MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "egw-local": {
      "command": "egw-local-server"
    }
  }
}

Available Tools

  • search_local - Full-text search with FTS5 highlighting
  • get_local_book - Get book information from local database
  • get_local_content - Retrieve paragraphs from books
  • list_local_books - List available books with filters
  • browse_by_reference - Find content by EGW reference (e.g., "AA 15.1")
  • get_context - Get surrounding paragraphs for context
  • get_database_stats - Database statistics and metrics

Search Features

Full-text Search

search_local "righteousness by faith"

Reference Navigation

browse_by_reference "DA 123"
browse_by_reference "Great Controversy 45.2"

Context Retrieval

get_context "para_id_123" --before 2 --after 2

Performance Benefits

  • No Rate Limits: Unlimited local queries
  • Fast Response: Sub-millisecond search times
  • Offline Operation: Works without internet connection
  • Full Content: Complete database with all downloaded content
  • Advanced Search: FTS5 with ranking and highlighting

Educational and Research Use

This tool is designed for educational and research purposes. The EGW writings may be subject to copyright restrictions. Users are responsible for ensuring their use complies with applicable copyright laws and fair use guidelines.

Organization

Developed by Gospel Sounders under the leadership of Brian Onang'o.

License

UNLICENSED - Proprietary software for educational and research use.

Support