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

mcp-supabase-tools

v1.0.1

Published

MCP server for Supabase — query tables, manage auth users, check storage, run SQL from Claude.

Readme

mcp-supabase-tools

MCP server that connects Claude to your Supabase project. Query tables, manage auth users, inspect storage buckets, and run SQL -- all from Claude.

Built by THRYXAGI.

Install

npx -y mcp-supabase-tools

Or install globally:

npm install -g mcp-supabase-tools

Claude Desktop config

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "supabase": {
      "command": "npx",
      "args": ["-y", "mcp-supabase-tools"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_SERVICE_KEY": "your-service-role-key"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | SUPABASE_URL | Yes | Your Supabase project URL (e.g. https://abc123.supabase.co) | | SUPABASE_SERVICE_KEY | Yes | Service role key (not the anon key). Found in Project Settings > API. |

Tools

query_table

Select rows from any table with optional filters, ordering, and limits.

  • table (string, required) -- Table name
  • select (string, default "*") -- Column selection
  • filters (array, optional) -- Array of {column, operator, value} objects. Operators: eq, neq, gt, gte, lt, lte, like, ilike, is, in
  • limit (number, default 100) -- Max rows to return
  • order_by (string, optional) -- Column to order by
  • ascending (boolean, default true) -- Sort direction

insert_rows

Insert one or more rows into a table.

  • table (string, required) -- Table name
  • rows (array, required) -- Array of row objects to insert

update_rows

Update rows matching filter conditions.

  • table (string, required) -- Table name
  • values (object, required) -- Key-value pairs to update
  • filters (array, required) -- Array of {column, operator, value} to match rows

delete_rows

Delete rows matching filter conditions.

  • table (string, required) -- Table name
  • filters (array, required) -- Array of {column, operator, value} to match rows

run_sql

Execute raw SQL against your database.

  • query (string, required) -- SQL query to execute

Setup required: Create a Postgres function in your Supabase SQL Editor:

CREATE OR REPLACE FUNCTION exec_sql(query text)
RETURNS json
LANGUAGE plpgsql
SECURITY DEFINER
AS $$
DECLARE
  result json;
BEGIN
  EXECUTE query INTO result;
  RETURN result;
EXCEPTION WHEN OTHERS THEN
  RETURN json_build_object('error', SQLERRM);
END;
$$;

list_tables

List all tables in the public schema. No parameters.

Requires the exec_sql function above.

get_auth_users

List authentication users (requires service role key).

  • limit (number, default 50) -- Max users to return

get_storage_buckets

List all storage buckets. No parameters.

Security Notes

  • Use the service role key, not the anon key. The service role key bypasses Row Level Security, so treat it like a database password.
  • Never commit your service key to version control. Use environment variables.
  • The run_sql tool uses a SECURITY DEFINER function, meaning it runs with the privileges of the function creator. Only create this function if you trust the agents using this MCP server.
  • For read-only access, modify the exec_sql function to reject write operations, or omit the run_sql / insert_rows / update_rows / delete_rows tools.

License

MIT