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

tokportal-mcp

v1.7.0

Published

TokPortal MCP Server — Control TokPortal from AI assistants (Claude, Cursor, etc.)

Readme

TokPortal MCP Server

Control TokPortal from AI assistants (Claude, Cursor, etc.) via the Model Context Protocol.

Quick Start

1. Get an API key

Generate one at app.tokportal.com/developer.

2. Add to Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "tokportal": {
      "command": "npx",
      "args": ["-y", "tokportal-mcp"],
      "env": {
        "TOKPORTAL_API_KEY": "tok_live_your_key_here"
      }
    }
  }
}

2b. Or add to Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tokportal": {
      "command": "npx",
      "args": ["-y", "tokportal-mcp"],
      "env": {
        "TOKPORTAL_API_KEY": "tok_live_your_key_here"
      }
    }
  }
}

3. Start using

Ask your AI assistant: "Create a TikTok bundle in the US with 5 videos" and it will use the MCP tools automatically.

OpenClaw Skill

TokPortal is published on ClawHub. If you use OpenClaw, install it with:

clawhub install tokportal

Then add your API key in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "tokportal": {
        "enabled": true,
        "apiKey": "tok_live_your_key_here"
      }
    }
  }
}

Start a new OpenClaw session and all 54 tools become available via natural language.

Available Tools (30)

Info

  • get_me — Profile + credits
  • get_credit_balance — Detailed balance
  • get_credit_history — Transaction history
  • get_countries — Available countries
  • get_platforms — Platform features
  • get_credit_costs — Cost grid

Bundles

  • create_bundle — Create account + videos
  • create_bulk_bundles — Performance Max
  • list_bundles — List with filters
  • get_bundle — Full state
  • publish_bundle — Go live
  • unpublish_bundle — Pull back
  • add_video_slots — Add video slots
  • add_edit_slots — Add edit slots

Account Configuration

  • get_account_config — View config
  • configure_account — Set username, bio, etc.
  • finalize_account — Validate
  • request_account_corrections — Request fixes

Videos

  • list_videos — List all
  • configure_video — Configure single
  • batch_configure_videos — Configure multiple
  • finalize_video — Validate
  • request_video_corrections — Request fixes
  • unschedule_video — Cancel scheduling

Delivered Accounts

  • list_accounts — List accounts
  • get_account_detail — Credentials + TokMail
  • get_verification_code — Get 6-digit code

Analytics

  • get_analytics_dashboard — Portfolio Analytics v2 dashboard
  • get_analytics_account — Account drilldown with posts, series, demographics, and intelligence
  • get_analytics_series — Stored chart points
  • get_analytics_contract — Versioned data contract and plan redaction rules
  • get_analytics — Backward-compatible account analytics endpoint with analytics_v2
  • get_video_analytics — Account post/video analytics
  • get_analytics_comments — Dashboard comment pulse
  • get_analytics_post_comments — Cached comments for one tracked post
  • export_analytics_videos_csv — CSV export
  • create_analytics_report — Hosted web report
  • create_analytics_html_report — Standalone HTML report
  • refresh_analytics / refresh_analytics_v2 — Targeted v2 refresh for repair/bootstrap
  • can_refresh_analytics — Check targeted refresh availability
  • get_raw_account_analytics — Raw provider account snapshots
  • get_raw_post_analytics — Raw provider post snapshots