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

@marcelocorrea/mcp-hotmart-api

v1.0.1

Published

MCP Server para integração com API Hotmart

Readme

MCP Hotmart API

MCP Server para integração com a API da Hotmart, permitindo acesso a produtos, vendas e assinaturas.

🚀 Instalação

cd mcp/mcp-hotmart-api
npm install
npm run build

🔧 Configuração

  1. Copie o arquivo .env.example para .env:
cp .env.example .env
  1. Configure suas credenciais Hotmart no arquivo .env:
HOTMART_CLIENT_ID=seu_client_id
HOTMART_CLIENT_SECRET=seu_client_secret

📋 Ferramentas Disponíveis

1. get_products

Retorna lista de produtos da conta Hotmart.

Parâmetros: Nenhum

Exemplo de uso:

{
  "name": "get_products",
  "arguments": {}
}

2. get_subscribers

Retorna lista de assinaturas (subscribers) da conta Hotmart.

Parâmetros:

  • product_id (opcional): ID do produto para filtrar assinaturas

Exemplo de uso:

{
  "name": "get_subscribers",
  "arguments": {
    "product_id": "123456"
  }
}

3. get_subscription

Retorna detalhes de uma assinatura específica.

Parâmetros:

  • subscriber_code (obrigatório): Código do assinante

Exemplo de uso:

{
  "name": "get_subscription",
  "arguments": {
    "subscriber_code": "SUB123456"
  }
}

4. get_sales

Retorna lista de vendas da conta Hotmart com filtros opcionais.

Parâmetros:

  • start_date (opcional): Data inicial em timestamp (milissegundos)
  • end_date (opcional): Data final em timestamp (milissegundos)
  • product_id (opcional): ID do produto para filtrar vendas

Exemplo de uso:

{
  "name": "get_sales",
  "arguments": {
    "start_date": 1672531200000,
    "end_date": 1704067199000,
    "product_id": "123456"
  }
}

5. get_sale_by_transaction

Busca uma venda específica pelo ID da transação.

Parâmetros:

  • transaction_id (obrigatório): ID da transação

Exemplo de uso:

{
  "name": "get_sale_by_transaction",
  "arguments": {
    "transaction_id": "HP12345678901234567890"
  }
}

6. test_connection

Testa a conexão com a API Hotmart.

Parâmetros: Nenhum

Exemplo de uso:

{
  "name": "test_connection",
  "arguments": {}
}

🔗 Configuração no Claude Desktop

Adicione ao seu claude_desktop_config.json:

{
  "mcpServers": {
    "hotmart-api": {
      "command": "node",
      "args": ["/caminho/completo/para/mcp/mcp-hotmart-api/dist/index.js"],
      "env": {
        "HOTMART_CLIENT_ID": "seu_client_id",
        "HOTMART_CLIENT_SECRET": "seu_client_secret"
      }
    }
  }
}

📚 Documentação

🛠️ Desenvolvimento

# Build
npm run build

# Watch mode
npm run watch

# Start
npm start

📝 Licença

MIT