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

local-api-mcp-typescript

v1.0.5

Published

A Model Context Protocol server that AdsPower browser LocalAPI. This server enables LLMs to interact with start browser, create browser, update browser fingerprint config ...

Readme

AdsPower LocalAPI MCP Server

A Model Context Protocol server that AdsPower browser LocalAPI. This server enables LLMs to interact with start browser, create browser, update browser fingerprint config ...

Usage with Claude Desktop

Talk to LLMs to create browser: Create an Android UA browser using Chrome 134

Claude desktop

Talk to LLMs to create browser: Help me with random UA, random fingerprint, random cookie generation, create 3 browsers, use 134 cores, and open them

Claude desktop

How to use?

Requirements

Installation

To use with Claude Desktop, add the server config:

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

MacOS / Linux

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "npx",
      "args": ["-y", "local-api-mcp-typescript"]
    }
  }
}

Windows

{
  "mcpServers": {
    "adspower-local-api": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "local-api-mcp-typescript"]
    }
  }
}

Claude desktop MCP

or use in Cursor Cursor

Development

# git clone 
git clone https://github.com/AdsPower/local-api-mcp-typescript.git

# install package
cd local-api-mcp-typescript && npx pnpm i

# build
npm run build
# Add the server to your claude_desktop_config.json
"mcpServers": {
  "adspower-local-api": {
        "command": "node",
        "args": [
            "<Replace Your Project Path>/local-api-mcp-typescript/build/index.js"
        ]
    }
}

Components

Tools

  • open_browser

    • Open the browser
    • Inputs:
      • serialNumber (string, optional): The serial number of the browser to open
      • userId (string, optional): The browser id of the browser to open
  • close_browser

    • Close the browser
    • Input:
      • userId (string): The browser id of the browser to stop
  • create_browser

    • Create a browser
    • Inputs:
      • groupId (string): The group id for the browser
      • domainName (string, optional): The domain name
      • openUrls (string[], optional): URLs to open
      • cookie (string, optional): Browser cookie
      • username (string, optional): Username
      • password (string, optional): Password
      • system (string, optional): System type
      • name (string, optional): Browser name
      • country (string, optional): Country
      • sysAppCateId (string, optional): System application category id
      • storageStrategy (number, optional): Storage strategy
      • userProxyConfig (object): Proxy configuration
      • fingerprintConfig (object, optional): Browser fingerprint configuration
  • update_browser

    • Update the browser
    • Inputs: Same as create_browser, plus:
      • userId (string): The user id of the browser to update
  • delete_browser

    • Delete the browser
    • Input:
      • userIds (string[]): The user ids of the browsers to delete
  • get_browser_list

    • Get the list of browsers
    • Inputs:
      • groupId (string, optional): The group id of the browser
      • size (number, optional): The size of the page
      • id (string, optional): The id of the browser
      • serialNumber (string, optional): The serial number of the browser
      • sort (enum, optional): Sort field ('serial_number' | 'last_open_time' | 'created_time')
      • order (enum, optional): Sort order ('asc' | 'desc')
  • get-opened_browser

    • Get the list of opened browsers
    • No inputs required
  • move_browser

    • Move browsers to a group
    • Inputs:
      • groupId (string): The target group id
      • userIds (string[]): The browser ids to move
  • create_group

    • Create a browser group
    • Inputs:
      • groupName (string): The name of the group to create
      • remark (string, optional): The remark of the group
  • update_group

    • Update the browser group
    • Inputs:
      • groupId (string): The id of the group to update
      • groupName (string): The new name of the group
      • remark (string | null, optional): The new remark of the group, set null to clear
  • get_group_list

    • Get the list of groups
    • Inputs:
      • name (string, optional): The name of the group
      • size (number, optional): The size of the page
  • get-application_list

    • Get the list of applications
    • Input:
      • size (number, optional): The size of the page

Advanced Configuration Types

UserProxyConfig

  • proxy_soft (enum): The proxy soft type ('brightdata', 'brightauto', 'oxylabsauto', etc.)
  • proxy_type (enum, optional): Proxy type ('http', 'https', 'socks5', 'no_proxy')
  • proxy_host (string, optional): Proxy host
  • proxy_port (string, optional): Proxy port
  • proxy_user (string, optional): Proxy username
  • proxy_password (string, optional): Proxy password
  • proxy_url (string, optional): Proxy URL
  • global_config (enum, optional): Global config ('0' | '1')

FingerprintConfig

  • automatic_timezone (enum, optional): Automatic timezone ('0' | '1')
  • timezone (string, optional): Timezone
  • language (string[], optional): Languages
  • flash (string, optional): Flash version
  • fonts (string[], optional): Font list
  • webrtc (enum, optional): WebRTC setting ('disabled' | 'forward' | 'proxy' | 'local')
  • browser_kernel_config (object, optional):
    • version (string, optional): Browser version
    • type (enum, optional): Browser type ('chrome' | 'firefox')
  • random_ua (object, optional):
    • ua_version (string[], optional): User agent versions
    • ua_system_version (enum[], optional): System versions
  • tls_switch (enum, optional): TLS switch ('0' | '1')
  • tls (string, optional): TLS configuration