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

@xcitedbs/mcp

v0.1.0

Published

Model Context Protocol server for XCiteDB (REST API via @xcitedbs/client)

Downloads

36

Readme

@xcitedbs/mcp

Model Context Protocol (MCP) server for XciteDB: exposes REST operations as MCP tools and ships static resources (xcitedb://conventions, xcitedb://api-overview) for assistants.

Implementation wraps the official @xcitedbs/client JavaScript SDK (stdio transport).

Requirements

  • Node.js 18+
  • A running XciteDB server and credentials (API key or platform Bearer token)

Install

From npm (when published):

npm install -g @xcitedbs/mcp

From this monorepo / local path:

cd sdks/mcp
npm ci
npm run build

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | XCITEDB_BASE_URL | Yes | API origin only, e.g. http://localhost:8080 (no /api/v1 suffix). | | XCITEDB_API_KEY | One of key/token | Developer API key (X-API-Key). | | XCITEDB_ACCESS_TOKEN | One of key/token | Platform JWT (Authorization: Bearer). | | XCITEDB_PROJECT_ID | Recommended with Bearer | Tenant/project id; with Bearer + this id, platform console mode sends X-Project-Id. Also set as default context.project_id. | | XCITEDB_BRANCH | No | Default X-Branch context. | | XCITEDB_SAFE_MODE | No | Default true. When true, mutating tools require confirm: true in tool arguments. | | XCITEDB_TEST_SESSION | No | If set, all tools run against the test session (X-Test-Session). The session may be a normal empty ephemeral session or an overlay session (provisioned with create_test_session and overlay: true); overlay is determined when the session is created, not by this env var. | | XCITEDB_TEST_AUTH_REQUIRED | No | When using a test session, set to 1/true to send X-Test-Auth: required. |

Cursor

Add to MCP settings (example):

{
  "mcpServers": {
    "xcitedb": {
      "command": "node",
      "args": ["/absolute/path/to/sdks/mcp/dist/index.js"],
      "env": {
        "XCITEDB_BASE_URL": "http://127.0.0.1:8080",
        "XCITEDB_API_KEY": "your-key",
        "XCITEDB_SAFE_MODE": "true"
      }
    }
  }
}

Or with npx after publish:

{
  "mcpServers": {
    "xcitedb": {
      "command": "npx",
      "args": ["-y", "@xcitedbs/mcp"],
      "env": {
        "XCITEDB_BASE_URL": "http://127.0.0.1:8080",
        "XCITEDB_ACCESS_TOKEN": "your-platform-jwt",
        "XCITEDB_PROJECT_ID": "t_your_tenant_id"
      }
    }
  }
}

Claude Desktop

Same pattern as Cursor: claude_desktop_config.jsonmcpServerscommand + args + env.

Tools (summary)

Document & query: list_documents, list_children, read_document, write_document, delete_document, list_json_documents, read_json_document, write_json_document, delete_json_document, run_unquery, search (optional at_date / date_from / date_to for temporal full-text search; use mode: "fts" for keyword-only temporal queries).

Versioning: list_workspaces, create_workspace, delete_workspace, publish_workspace, list_checkpoints, create_checkpoint, compare, list_bookmarks, create_bookmark, delete_bookmark, get_checkpoint, apply_checkpoint, revert_to_checkpoint.

Meta & locks: read_metadata, write_metadata, list_locks, acquire_lock, release_lock.

Project & security: server_health, list_projects, list_policies, create_policy.

Test DB: create_test_session (optional argument overlay: true to read production data through a writable server-side overlay—writes never hit production), destroy_test_session.

Resources

  • xcitedb://conventions — short list of non-standard XciteDB behaviors (branches, identifiers, auth, Unquery).
  • xcitedb://api-overview — compact REST surface overview.

Development

npm run build      # bundle to dist/index.js (esbuild)
npm run test:unit  # vitest unit tests (in-memory MCP + mocks)

Integration tests (real xcitedb-server binary under repo build/bin/):

XCITEDB_MCP_INTEGRATION=1 npm run test:integration

Optional: XCITEDB_WET_BUILD=1 to auto-run CMake if the binary is missing.

License

MIT (same as the parent project unless noted otherwise).