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

era-docs-mcp

v0.2.0

Published

Local documentation MCP server for the Era language

Readme

EraBasic reference MCP

EraBasic documentation reference server for MCP.

Requires Node.js 24 or newer. This single package includes binaries for Linux and macOS x64/arm64, and Windows x64. The launcher selects the matching bundled binary. Linux x64 is the locally execution-tested target; the others are cross-built, not certified by native execution.

MCP clients

Use era-docs-mcp@latest by default in command-based MCP configurations:

{
  "mcpServers": {
    "era-reference": {
      "command": "npx",
      "args": ["-y", "era-docs-mcp@latest"]
    }
  }
}

No arguments selects stdio. Standard output contains only MCP messages; diagnostics go to standard error. Clients that do not resolve npm command shims on Windows may need the explicit npx.cmd executable.

npx -y era-docs-mcp@latest --version
npx -y era-docs-mcp@latest stdio -index /path/to/reference.json.gz
npx -y era-docs-mcp@latest serve

@latest selects the release tagged latest. Restart an already-running MCP server to use a newly installed release; a running process does not update itself. If you need a fixed version instead, replace the package specifier with [email protected] to pin this release.

serve exposes Streamable HTTP at http://127.0.0.1:8080/mcp; configure that URL in an HTTP-capable MCP client. The npm wrapper does not expose the server publicly by default. No container or HTTPS proxy deployment configuration is included.

The three tools are search_reference, lookup_builtin, and read_reference. Read the full reference page before relying on a search excerpt. Both transports use the same tools and document snapshot.

Search and data

The package includes a compressed index containing the source Markdown, section metadata, lexical search data, and embedding vectors. Go, a repository checkout, and user-side indexing are not required. The installed package and the caller's working directory are not modified by serving.

Search attempts the local Ollama endpoint http://127.0.0.1:11434 with embeddinggemma:300m. If the service or a compatible model is unavailable, it falls back to BM25 and reports degradation in the tool result. Exact lookup and reference reads do not need Ollama. English lexical search is not equivalent to multilingual semantic retrieval; a Korean-only query can return no lexical matches.

For hybrid retrieval, explicitly install/start Ollama and pull the model yourself:

ollama pull embeddinggemma:300m
npx -y era-docs-mcp@latest stdio

The model digest and dimensions must match the packaged index. An incompatible model requires rebuilding the index; the server never silently reindexes. You can explicitly set -ollama URL, -model NAME, and -index FILE on stdio or serve. Queries are sent to the chosen embedding endpoint, not an answer-generation service. No models are automatically installed and no model weights are included.

Updating the npm package updates the bundled document snapshot. An explicit -index overrides that snapshot. index and eval remain developer commands and require their own source documents or evaluation cases; those inputs are not bundled.

Distribution license

Published npm packages are offered under the GNU Affero General Public License version 3 only (AGPL-3.0-only); each includes the full LICENSE text. This distribution license does not declare a license for the entire source repository. Third-party components retain their own licenses and notices. The embedding model uses the separate Gemma terms. Local reference runtime/game trees and model weights are excluded.

There are no platform dependencies or third-party Node runtime dependencies. Every installation includes all five binaries, so the download is larger than a platform-specific package. --omit=optional is supported. There is no postinstall downloader or runtime binary download fallback; a missing bundled executable reports a corrupt installation.