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

mobbin-mcp

v1.0.4

Published

MCP server for searching and browsing Mobbin design inspiration

Downloads

622

Readme

Mobbin MCP Server

An unofficial MCP server that connects to Mobbin — the design inspiration platform with 600k+ screens from 1,100+ apps. Search apps, browse screenshots, explore user flows, and access your saved collections directly from Claude.

Mobbin has no public API. This server was built by reverse-engineering their internal endpoints using Playwright.

Tools

| Tool | Description | | -------------------------- | -------------------------------------------------------------------------------------------- | | mobbin_search_apps | Search and browse apps by category and platform | | mobbin_search_screens | Search screens by UI patterns, elements, or text content | | mobbin_search_flows | Search user flows by action type (e.g., onboarding, checkout) | | mobbin_quick_search | Fast autocomplete search for apps by name | | mobbin_popular_apps | Get popular apps grouped by category | | mobbin_list_collections | List your saved collections | | mobbin_get_screen_detail | Fetch a full screenshot image for a specific screen, with optional dominant color extraction | | mobbin_get_filters | Get all available filter values (categories, patterns, elements, actions) |

Setup

Prerequisites

  • Node.js 18+
  • A Mobbin account (free or paid)

1. Authenticate

Option A: CLI command (recommended)

npx -y mobbin-mcp auth

This will walk you through copying your session cookie from the browser:

  1. Open mobbin.com and log in
  2. Open the browser console (Cmd+Option+J)
  3. Run copy(document.cookie) to copy your cookies to clipboard
  4. Paste into the CLI prompt

Your session is saved to ~/.mobbin-mcp/auth.json and automatically refreshed.

What does copy(document.cookie) do? It copies your browser's cookies for the current site (mobbin.com) to your clipboard. This includes your Supabase session tokens, which the MCP server needs to make API requests on your behalf. The cookies are stored locally on your machine at ~/.mobbin-mcp/auth.json and are never sent anywhere except to Mobbin's API.

Option B: Environment variable (manual)

  1. Open mobbin.com in Chrome and log in
  2. Open DevTools (Cmd+Option+I) → Application tab → Cookieshttps://mobbin.com
  3. Find the cookies named sb-ujasntkfphywizsdaapi-auth-token.0 and sb-ujasntkfphywizsdaapi-auth-token.1
  4. Copy the full value of each cookie
  5. Combine them into a single string:
sb-ujasntkfphywizsdaapi-auth-token.0=<value0>; sb-ujasntkfphywizsdaapi-auth-token.1=<value1>
  1. Set MOBBIN_AUTH_COOKIE to that value (see step 2 below)

2. Add to Claude Code

claude mcp add mobbin -- npx -y mobbin-mcp

If you used the CLI auth command (Option A), no additional config is needed — the server reads from ~/.mobbin-mcp/auth.json automatically.

If using the environment variable (Option B), pass it when adding:

claude mcp add mobbin -e MOBBIN_AUTH_COOKIE="sb-ujasntkfphywizsdaapi-auth-token.0=...; sb-ujasntkfphywizsdaapi-auth-token.1=..." -- npx -y mobbin-mcp

Alternative: Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mobbin": {
      "command": "npx",
      "args": ["-y", "mobbin-mcp"]
    }
  }
}

Example prompts

  • "I'm designing a checkout flow for a food delivery app — show me how top apps like DoorDash and Uber Eats handle it"
  • "Pull up the Duolingo onboarding flow and walk me through each screen's design decisions"
  • "Find login screens that use bottom sheets and extract the color palette — I need inspiration for our auth redesign"
  • "Compare how fintech apps handle settings screens — show me examples from Robinhood, Cash App, and Venmo"
  • "Search for screens with card-based layouts in travel apps, then show me the best one in detail"
  • "What UI patterns are trending right now on iOS? Show me the top screens"

How it works

Mobbin is a Next.js app backed by Supabase. This server calls Mobbin's internal API routes (/api/content/search-apps, /api/content/search-screens, etc.) using your session cookie for authentication. Tokens are automatically refreshed via Supabase's /auth/v1/token endpoint before they expire, and persisted back to ~/.mobbin-mcp/auth.json when using the CLI auth method.

Screen images are served through Mobbin's Bytescale CDN. The mobbin_get_screen_detail tool automatically converts Supabase storage URLs from search results into CDN URLs, fetches the image, and returns it as base64 content that the model can see and analyze. Optional color extraction uses sharp to return dominant hex colors from the screenshot.

Project structure

src/
  index.ts              # MCP server entry point, CLI routing, and tool registration
  constants.ts          # API URLs, keys, and config
  types.ts              # TypeScript interfaces for all Mobbin data models
  cli/
    auth.ts             # Interactive CLI authentication flow
  services/
    auth.ts             # Token parsing, expiry checks, and auto-refresh
    api-client.ts       # HTTP client for all Mobbin API endpoints
  utils/
    auth-store.ts       # Persistent session storage (~/.mobbin-mcp/auth.json)
    formatting.ts       # Markdown formatters for tool responses

License

ISC