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

@sqlitecloud/mcp-server

v0.1.2

Published

Model Context Protocol server for SQLite Cloud database

Readme

Model Context Protocol (MCP) Server for SQLite Cloud

This project is currently in the experimental phase. Feel free to explore, report issues, and share your feedback.

mcp-demostration

Overview

The MCP Server for SQLite Cloud enables seamless interaction with SQLite Cloud databases using the AI models. It utilizes the Model Context Protocol (MCP) to provide tools for executing queries, managing schemas, and analyzing query performance.

Features

  • Query Execution: Perform SELECT, INSERT, UPDATE, and DELETE SQL operations on SQLite Cloud databases.
  • Schema Management: Create tables, list existing ones, and retrieve schema details.
  • Command Execution: Run predefined commands supported by SQLite Cloud.
  • Performance Analysis: Identify slow queries, analyze query plans, and reset query statistics.

Tools

The MCP Server offers the following tools:

  1. read-query: Perform SELECT queries and fetch results.
  2. write-query: Perform INSERT, UPDATE, or DELETE operations.
  3. create-table: Create new database tables.
  4. list-tables: Display all tables in the database.
  5. describe-table: Retrieve schema details for a specific table.
  6. list-commands: List available commands and access external documentation.
  7. execute-command: Run commands from the list-commands tool.
  8. list-analyzer: Analyze slow queries with optional filters.
  9. analyzer-plan-id: Gather details about query plans and indexes.
  10. analyzer-reset: Reset query statistics for specific queries, groups, or databases.

Getting Started

To use the MCP Server, create a free account on SQLite Cloud and get your Connection String.
Start the server with the following command:

npx @sqlitecloud/mcp-server --connectionString <your_connection_string>

Replace <your_connection_string> with your SQLite Cloud connection string.

Configure Your AI model

Requirements

Ensure Node.js is installed on your machine with:

node --version

If Node.js is not installed, you can download it from nodejs.org.

VSCode Integration

Refer to the official documentation for detailed instructions.

  1. In the root of your project create the file .vscode/mcp.json

  2. Add the following configuration (choose the server configuration you prefer):

{
  "mcp": {
    "inputs": [
     {
       "type": "promptString",
       "id": "sqlitecloud-connection-string",
       "description": "Set the SQLite Cloud Connection String",
       "password": true
     }
    ],
    "servers": {
      "sqlitecloud-mcp-server-dev": {
        "type": "stdio",
        "command": "node",
        "args": [
          "./build/index.js",
          "--connectionString",
          "${input:sqlitecloud-connection-string}"
        ]
      },
      "sqlitecloud-mcp-server": {
        "type": "stdio",
        "command": "npx",
        "args": [
          "-y",
          "@sqlitecloud/mcp-server",
          "--connectionString",
          "${input:sqlitecloud-connection-string}"
        ]
      },
      "sqlitecloud-mcp-server-sse": {
        "type": "sse",
        "url": "<YOUR_NODE_ADDRESS>/v1/mcp/sse",
        "headers": {
          "Authorization": "Bearer ${input:sqlitecloud-connection-string}"
        }
      }
    }
  }
}

Development

Build

npm run build

Run

After building the package, run it with:

node disk/main.js --connectionString <CONNECTION_STRING>

Local Testing

To locally test the package:

  1. Pack the package:
npm pack
  1. Run the packed file:
npx <PACKAGE_FILENAME>.tgz --connectionString <CONNECTION_STRING>

Inspection

Use the inspector to test stdio and sse transports. First, build the package, then run:

npx @modelcontextprotocol/inspector@latest

Access the inspector at: http://127.0.0.1:6274/

Stdio Transport

  • Transport Type: stdio
  • Command: npx
  • Arguments: ~/<PATH_TO_PACKAGE_FOLDER> --connectionString <CONNECTION_STRING>

Note: Use the PATH_TO_PACKAGE_FOLDER from your home directory to avoid permission issues.

SSE Transport

To test sse transport with a remote or local server:

  • URL: http://localhost:8090/v1/mcp/sse