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

@feriados-api/mcp-server

v1.0.14

Published

MCP Server para a API de Feriados Brasileiros — consulte feriados nacionais, estaduais e municipais direto no seu agente de IA

Readme

🇧🇷 Feriados API — MCP Server

Consulte feriados brasileiros (nacionais, estaduais e municipais) direto no seu agente de IA favorito usando o Model Context Protocol.

npm version

⚡ Quick Start

Opção 1: URL Remota (recomendado)

Adicione ao seu cliente de IA:

https://mcp.feriadosapi.com/api/mcp

Com sua própria API key (BYOK):

https://mcp.feriadosapi.com/api/mcp?apiKey=fapi_sua_chave_aqui

💡 Crie uma conta gratuita em feriadosapi.com para obter sua API key com 100 requisições/mês grátis.

Opção 2: Via npx (local)

Obtenha uma API key gratuita em feriadosapi.com e configure:

{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

🛠️ Tools Disponíveis

| Tool | Descrição | |------|-----------| | buscar_feriados | Busca com filtros flexíveis (data, tipo, UF, IBGE, ano, mês) | | feriados_nacionais | Feriados nacionais do Brasil | | feriados_por_estado | Feriados por estado (UF) | | feriados_por_cidade | Feriados por cidade (código IBGE) | | verificar_data | Verifica se uma data é feriado | | listar_estados | Lista estados brasileiros | | buscar_municipios | Busca municípios por UF |

🔧 Configuração por Cliente

Claude Desktop / Claude Code

{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

Cursor

// .cursor/mcp.json
{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

GitHub Copilot

// Configuração do GitHub Copilot MCP
{
  "github.copilot.mcp.servers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

Windsurf

// ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

Antigravity (Gemini Code Assist)

// .gemini/settings.json
{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

Gemini CLI

// ~/.gemini/settings.json
{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

OpenAI Codex CLI

// ~/.codex/config.json
{
  "mcpServers": {
    "feriadosapi": {
      "command": "npx",
      "args": ["-y", "@feriados-api/mcp-server"],
      "env": {
        "FERIADOS_API_KEY": "fapi_sua_chave_aqui"
      }
    }
  }
}

ChatGPT / OpenAI Agents

URL: https://mcp.feriadosapi.com/api/mcp?apiKey=SUA_API_KEY

💬 Exemplos de uso

Após configurar, pergunte ao seu agente:

  • "Quais são os feriados de São Paulo em 2026?"
  • "Amanhã é feriado?"
  • "Quando é o Carnaval?"
  • "Quais feriados caem na sexta-feira em 2026?"
  • "Qual o código IBGE de Curitiba?"

🔑 Autenticação

Uma API key é obrigatória. Crie uma conta gratuita em feriadosapi.com (100 req/mês grátis) e passe sua chave:

  • Via URL remota: ?apiKey=fapi_xxx na URL do MCP
  • Via stdio (local): env var FERIADOS_API_KEY

⚠️ Sem uma API key válida, todas as chamadas retornarão erro de autenticação.

🏗️ Desenvolvimento Local

# Clonar o repositório
git clone https://github.com/feriadosapi/feriadosapi-mcp.git
cd feriadosapi-mcp

# Instalar dependências
npm install

# Configurar variáveis de ambiente
cp .env.example .env.local
# Editar .env.local com sua FERIADOS_API_KEY

# Rodar em desenvolvimento
npm run dev

# Build do stdio (para publicação npm)
npm run build:stdio

📖 Links Úteis

📄 Licença

MIT