{
 "type": "mcp",
 "name": "Stackin",
 "registry_name": "io.github.stackin-io/stackin",
 "also_published_as": [],
 "description": "Issue and manage Brazilian fiscal documents: NF-e for goods, NFS-e for services.",
 "url": "https://mcp.stackin.io/mcp",
 "transport": "streamable-http",
 "website": "https://docs.stackin.io/mcp",
 "repo": "https://github.com/stackin-io/stackin-mcp-plugin",
 "ours": false,
 "publisher": "io.github.stackin-io",
 "categories": [
  "accounting",
  "gov-records",
  "design-docs"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:41:12.719Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 43,
  "latency_ms": 961,
  "tools_list_ms": 887,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "stackin",
   "version": "0.20.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": 0,
  "license": "MIT",
  "repo_pushed_at": "2026-11-24T16:35:58Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-11-24T16:36:08.141188Z",
  "registry_published_at": "2026-11-24T16:36:08.141188Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 75.5,
  "tool_docs": 100,
  "breadth": 96.2,
  "freshness": 100,
  "license": 100,
  "adoption": 0,
  "protocol": 100
 },
 "score": 66,
 "missing": [],
 "tools": [
  "issue_invoice",
  "consult_invoice",
  "cancel_invoice",
  "get_invoice_pdf",
  "reissue_invoice",
  "correct_invoice",
  "invalidate_numbering",
  "list_invoices",
  "get_invoice_submissions",
  "invoice_stats",
  "list_invalidations",
  "validate_invoice_payload",
  "list_received_invoices",
  "sync_received_invoices",
  "manifest_received_invoice",
  "get_received_invoice_xml",
  "lookup_fiscal_code",
  "search_fiscal_codes",
  "list_fiscal_kinds",
  "lookup_taxpayer",
  "search_cities",
  "calculate_ibs_cbs",
  "suggest_nbs",
  "list_authorized_companies",
  "get_usage",
  "get_company_readiness",
  "update_company",
  "list_clients",
  "get_client",
  "save_client",
  "deactivate_client",
  "reactivate_client",
  "list_items",
  "get_item",
  "save_item",
  "deactivate_item",
  "reactivate_item",
  "explain_rejection",
  "classify_item",
  "list_webhooks",
  "create_webhook",
  "delete_webhook",
  "list_webhook_deliveries"
 ],
 "tool_docs": [
  {
   "n": "issue_invoice",
   "d": "Issue a Brazilian fiscal document: NFS-e or NF-e. This produces a legal fiscal document. Confirm the data with the user before calling when you inferred any fie"
  },
  {
   "n": "consult_invoice",
   "d": "Look up an invoice's current status. Read-only. After an OUTCOME_UNKNOWN issuance, consult its document_id: the dps_id of an nfse, the access_key of an nfe. A 4"
  },
  {
   "n": "cancel_invoice",
   "d": "Cancel an authorized invoice. Legal cancellation, with fiscal and accounting effect, inside a window the NFS-e authorizer enforces for the municipality. Ask the"
  },
  {
   "n": "get_invoice_pdf",
   "d": "Return the printable rendering of a document, as a PDF. Works for both types — a DANFE for nfe, a DANFSe for nfse. The PDF comes back base64-encoded in content_"
  },
  {
   "n": "reissue_invoice",
   "d": "Retry a rejected invoice after the data that caused the rejection was fixed. Takes the local invoice_id, not the access key: a rejected document never got one. "
  },
  {
   "n": "correct_invoice",
   "d": "File an electronic correction letter (CC-e) against an NF-e. NF-e only: there is no correction letter for an NFS-e, where a wrong document is cancelled and issu"
  },
  {
   "n": "invalidate_numbering",
   "d": "Declare an NF-e numbering range reserved but never used. NF-e numbering has to be continuous, so a gap left by a failed issuance is explained to the SEFAZ with "
  },
  {
   "n": "list_invoices",
   "d": "List the invoices this company issued, newest first. One document type at a time: pass nfse for services or nfe for goods. A company that issues both has to be "
  },
  {
   "n": "get_invoice_submissions",
   "d": "Show every attempt made for one invoice and what came back. This is the tool that answers \"why was it rejected\". consult_invoice gives the status; this gives th"
  },
  {
   "n": "invoice_stats",
   "d": "Count this company's documents, and compare recent days. The answer to \"how many invoices this month\", \"how much did I bill\" and \"is rejection going up\": totals"
  },
  {
   "n": "list_invalidations",
   "d": "List the NF-e numbering ranges this company already declared unused, newest first. Read it before invalidate_numbering: a range reported twice is refused, and o"
  },
  {
   "n": "validate_invoice_payload",
   "d": "Dry-run issue_invoice: the API runs issuance's pre-authority checks (company blockers; NCM, CEST, IBS/CBS and presumed-credit tables; layout and cross-field rul"
  },
  {
   "n": "list_received_invoices",
   "d": "List NF-e documents other companies issued against this one. The mirror of list_invoices: that one shows what this company issued, this one what it received. Re"
  },
  {
   "n": "sync_received_invoices",
   "d": "Ask the tax authority now for NF-e issued against this company. Collection already runs every six hours. After a read that finds nothing more the authority impo"
  },
  {
   "n": "manifest_received_invoice",
   "d": "Declare this company's position on a document issued against it. Legally binding and irreversible once the tax authority accepts it — ask the human to confirm b"
  },
  {
   "n": "get_received_invoice_xml",
   "d": "Return the full XML (procNFe) of an NF-e issued against this company. Read-only and never charged. Only when list_received_invoices shows has_full_document; for"
  },
  {
   "n": "lookup_fiscal_code",
   "d": "Resolve one code of one classification, when you know both. Use this to confirm a code before putting it on a document — an NCM that does not exist is rejected "
  },
  {
   "n": "search_fiscal_codes",
   "d": "Find a code from a description, or page through a table. This is the tool for \"what NCM is a keyboard\" — the one the user actually asks. Prefer it over guessing"
  },
  {
   "n": "list_fiscal_kinds",
   "d": "Which classifications this country has data for, right now. Ask this before assuming a classification exists. The answer grows as the source data does, so a nam"
  },
  {
   "n": "lookup_taxpayer",
   "d": "Look up one taxpayer by exact tax id, to confirm who it is. Use it to check a recipient's name before issuing against them. It takes the id exactly — punctuatio"
  },
  {
   "n": "search_cities",
   "d": "Find a municipality's IBGE code from its name. Issuing resolves city_code from city and state by itself, so this is for the name that matches more than one city"
  },
  {
   "n": "calculate_ibs_cbs",
   "d": "Simulate IBS/CBS per item and in total. Issues nothing. Not a fiscal document: say so to the user. Rates left out use the official 2026 ones in 2026; outside 20"
  },
  {
   "n": "suggest_nbs",
   "d": "List the NBS codes NFS-e Anexo VIII pairs with a service code. Suggestions, not a decision: show them to the user and put an nbs on the item only after they pic"
  },
  {
   "n": "list_authorized_companies",
   "d": "List the companies this connection may act for, and what it may do on each. Call it before acting when the user has more than one company, or when a tool answer"
  },
  {
   "n": "get_usage",
   "d": "The plan's allowances, what is used and the credit left. Read it before saying an action is free. Read-only. "
  },
  {
   "n": "get_company_readiness",
   "d": "Whether the company can issue right now, and if not, what to fix. Call it before a company's first document, and when issuing fails for a reason that is not the"
  },
  {
   "n": "update_company",
   "d": "Fill in or fix the company's own address and fiscal fields — what get_company_readiness reports missing. Before calling it: read the company's own registry row "
  },
  {
   "n": "list_clients",
   "d": "Find the company's saved clients. Look a recipient up here before typing one into issue_invoice: when it is already saved, pass its id as client_id and the name"
  },
  {
   "n": "get_client",
   "d": "Read one saved client, with its full address. Read-only."
  },
  {
   "n": "save_client",
   "d": "Save a client in the company's registry, or update a saved one. It records a recipient for later issuances; it issues nothing. A document already saved is refus"
  },
  {
   "n": "deactivate_client",
   "d": "Hide a saved client; reactivate_client brings it back."
  },
  {
   "n": "reactivate_client",
   "d": "Bring a deactivated client back to the registry."
  },
  {
   "n": "list_items",
   "d": "Find the products and services in the company's catalog. Look a line up here before typing it into issue_invoice: when it is saved, pass its id as item_id and t"
  },
  {
   "n": "get_item",
   "d": "Read one catalog item with its fiscal fields. Read-only."
  },
  {
   "n": "save_item",
   "d": "Save a product or service in the catalog, or update a saved one. Without item_id it creates, or updates the item with the same external_reference (else the same"
  },
  {
   "n": "deactivate_item",
   "d": "Hide a catalog item; reactivate_item brings it back."
  },
  {
   "n": "reactivate_item",
   "d": "Bring a deactivated item back into the company's catalog."
  },
  {
   "n": "explain_rejection",
   "d": "Explain why a rejected document was refused and what to change. get_invoice_submissions has the authority's reply as sent; this reads it for someone who does no"
  },
  {
   "n": "classify_item",
   "d": "Suggest an NCM, CFOP, CST/CSOSN, CEST or service code for one item. A suggestion to confirm with the user — never issue on it blindly. Every code in a candidate"
  },
  {
   "n": "list_webhooks",
   "d": "List where this company's events are delivered. One row per endpoint: its id (what delete_webhook takes), URL, events and whether it is active. Secrets are neve"
  },
  {
   "n": "create_webhook",
   "d": "Register a URL to receive this company's document events. Every document authorized, rejected, cancelled or corrected, and every received NF-e first stored (rec"
  },
  {
   "n": "delete_webhook",
   "d": "Stop delivering events to one endpoint. The user's integration stops hearing about new documents from that moment, so confirm which endpoint with them first. Wh"
  },
  {
   "n": "list_webhook_deliveries",
   "d": "Show every delivery attempt, newest first. The answer to \"is my webhook receiving\": each row has the event, its status, how many attempts, what the endpoint ans"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.985,
 "category_source": "classifier",
 "category_scores": {
  "accounting": 2.05,
  "devops": 0.51,
  "business": 0.33,
  "design-docs": 0.19
 },
 "subcategory": "invoicing",
 "id": "io-github-stackin-io-stackin",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}