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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@pendulum-baas/mcp

v1.0.0

Published

MCP Server for natural language querying locally

Readme

@pendulum-baas/mcp

MCP (Model Context Protocol) server for natural language querying of deployed Pendulum BaaS backends. This tool allows you to interact with your Pendulum backend using natural language queries through compatible AI assistants like Claude Desktop.

Pendulum MCP Real-Time Monitoring Demo

Installation

npm install -g @pendulum-baas/mcp

Usage

Arguments

  • --url (required): The URL of your app's Application Load Balancer.
  • --jwt-secret (required): JWT Secret generated during deployment — can be found in AWS Secrets Manager.

Run MCP Server Manually

You can start the MCP server with your Pendulum backend credentials locally:

pendulum-mcp --url <backend-url> --token <auth-token>

Configuration with Claude Desktop

Add the following to your Claude Desktop MCP configuration:

{"mcpServers": {
  "pendulum": {
    "command": "pendulum-mcp",
    "args": [
      "--url", "<your-alb-url>",
      "--jwt-secret", "<your-jwt-secret>"
    ],
    "env": {
      "PATH": "/Users/username/.nvm/versions/node/v22.14.0/bin:/usr/local/bin:/usr/bin:/bin"
    }
  }
}}

Available Tools

The MCP server provides the following tools for interacting with your Pendulum backend:

check-health-status

Get real-time insights into the health and status of both backend services.

get-active-users

Returns the number of users currently connected to your application.

infer-schema

Given a collection, infers and generates JSON that represents the schema of the collection.

validate-schema

Given a collection and an expected schema, identifies any documents in the collection that do not conform to the expected schema. Returns _id values for those that do not match.

start-realtime-logs

Monitor and log all realtime events as they are broadcast out to active users for a specified amount of time. Log file is timestamped and written to user's local /tmp directory.

stop-realtime-logs

Stop a real-time monitoring session.

realtime-logs-status

Check the status of any active real-time monitoring sessions.

Features

  • Natural Language Queries: Ask questions about your backend in plain English
  • Real-time Monitoring: Get live insights into your backend state
  • Service Health: Monitor the health and performance of your Pendulum services
  • Schema Inference and Validation: Have LLMs generate schemas based on your existing data so you can add stricter data validation rules to your frontend code.

Requirements

  • Node.js 18.0.0 or higher
  • Valid Pendulum backend with authentication
  • Compatible MCP client (like Claude Desktop)

License

MIT