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

blacksea-mcp

v0.2.0

Published

MCP server for the BlackSea seller API (blacksea.in.ua) — manage products, custom landing pages, and the custom profile page from Claude, Cursor, or any MCP client.

Readme

blacksea-mcp

MCP-сервер для BlackSea (blacksea.in.ua): підключи свій магазин до Claude, Cursor чи будь-якого MCP-клієнта — і агент зможе читати каталог, збирати та публікувати кастомні лендінги продуктів і кастомну сторінку профілю без копіювання токенів у промпти.

1. Створи токен доступу

  1. BlackSea → Налаштування → Додатково → Застосунки.
  2. Створи застосунок і згенеруй access token зі scopes: view_public, edit_products, edit_profile (+ view_sales, якщо хочеш дати агенту статистику продажів).
  3. Кастомні сторінки вмикаються фічефлагом custom_html_pages — напиши в підтримку, якщо ще не увімкнено.

2. Підключи сервер

Claude Code

claude mcp add blacksea -e BLACKSEA_ACCESS_TOKEN=<твій_токен> -- npx -y blacksea-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "blacksea": {
      "command": "npx",
      "args": ["-y", "blacksea-mcp"],
      "env": { "BLACKSEA_ACCESS_TOKEN": "<твій_токен>" }
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "blacksea": {
      "command": "npx",
      "args": ["-y", "blacksea-mcp"],
      "env": { "BLACKSEA_ACCESS_TOKEN": "<твій_токен>" }
    }
  }
}

Опційно: BLACKSEA_API_URL (за замовчуванням https://api.blacksea.in.ua).

Інструменти

| Tool | Що робить | | --- | --- | | get_profile | Профіль продавця (ім'я, біо, username, URL) | | list_products / get_product | Каталог і деталі продукту | | get_product_page | Поточний кастомний лендінг продукту | | preview_product_page | Прогнати HTML через санітайзер без публікації (звіт що вирізано) | | publish_product_page | Опублікувати/оновити лендінг продукту | | clear_product_page | Повернути стандартну сторінку продукту | | get_profile_page | Поточна кастомна сторінка профілю | | preview_profile_page | Санітайзер-прев'ю сторінки профілю | | publish_profile_page | Опублікувати/оновити сторінку профілю | | clear_profile_page | Повернути стандартний профіль | | get_store_analytics | Аналітика магазину: продажі/виручка/безкоштовні завантаження по продуктах, перегляди за 30 днів, відгуки, фоловери, виручка по місяцях (scope view_sales) | | list_sales | Продажі (потрібен scope view_sales) |

Типовий флоу агента: get_product → згенерувати HTML → preview_product_page (доки sanitization_report чистий) → publish_product_page.

Розробка

cd mcp
npm install
npm run build
BLACKSEA_ACCESS_TOKEN=... BLACKSEA_API_URL=http://api.localhost:3000 node dist/index.js