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

@fiscalcloud/mcp

v1.0.0

Published

Servidor MCP para la API de timbrado CFDI 4.0 de FiscalCloud (integradores). Expone timbrar/validar/cancelar/saldo/comprobantes como herramientas para agentes de IA.

Readme

@fiscalcloud/mcp — Servidor MCP de FiscalCloud

Servidor MCP para la API de timbrado CFDI 4.0 de FiscalCloud (integradores). Deja que tu agente de IA (Claude Desktop, Cursor, VS Code, etc.) timbre, valide, cancele y consulte comprobantes usando tu API key.

Sandbox por defecto. Timbrar CFDI mueve dinero y tiene efectos fiscales: el servidor usa el sandbox salvo que apuntes explícitamente a producción (y hayas certificado).

Requisitos

  • Node.js ≥ 18.
  • Una API key de integrador (genérala en tu portal → API keys; arranca en sandbox).

Uso rápido

FISCALCLOUD_API_KEY=tu_api_key_sandbox npx -y @fiscalcloud/mcp

Configuración en Claude Desktop / Cursor / VS Code

{
  "mcpServers": {
    "fiscalcloud": {
      "command": "npx",
      "args": ["-y", "@fiscalcloud/mcp"],
      "env": {
        "FISCALCLOUD_API_KEY": "tu_api_key_de_sandbox",
        "FISCALCLOUD_API_BASE": "https://sandbox-api.fiscalcloud.mx/v1"
      }
    }
  }
}

Para producción (ya certificado): tu API key de producción y FISCALCLOUD_API_BASE=https://api.fiscalcloud.mx/v1.

Variables de entorno

| Variable | Obligatoria | Default | Descripción | |---|---|---|---| | FISCALCLOUD_API_KEY | Sí | — | API key Bearer de tu cuenta integradora. | | FISCALCLOUD_API_BASE | No | https://sandbox-api.fiscalcloud.mx/v1 | Base de la API (sandbox o producción). |

Herramientas

| Tool | Qué hace | |---|---| | saldo | Saldo de timbres disponibles. | | timbrar | Timbra un CFDI (modo relay o sellar). | | validar | Valida sin timbrar (solo sandbox). | | comprobantes_listar | Lista los comprobantes timbrados. | | comprobante_obtener | Consulta uno por UUID. | | comprobante_estatus_sat | Estatus del comprobante ante el SAT. | | cancelar | Cancela ante el SAT (motivo 01–04). | | buscar_en_docs | Trae la documentación completa (llms-full.txt). |

El cuerpo de timbrar/validar sigue el OpenAPI: https://integrador.fiscalcloud.mx/docs/api/openapi.yaml.

Seguridad

  • Guarda la API key en variables de entorno; nunca en el código ni en prompts compartidos.
  • El servidor solo reenvía tu API key a la API de FiscalCloud; no la registra ni la imprime.

Publicar (interno)

Este paquete vive en el monorepo (integrations/mcp-fiscalcloud/). Para publicarlo en npm como @fiscalcloud/mcp: npm publish --access public desde esta carpeta (requiere la org @fiscalcloud en npm). Mientras no esté publicado, se puede usar con npx -y /ruta/al/repo/integrations/mcp-fiscalcloud.