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

@codespar/mcp-tiny

v0.2.1

Published

MCP server for Tiny ERP — products, stock, categories, warehouses, price lists, orders, invoices, accounts payable/receivable

Downloads

431

Readme

@codespar/mcp-tiny

MCP server for Tiny ERP — products, orders, contacts, invoices, stock, and accounts payable

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "tiny": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-tiny"],
      "env": {
        "TINY_API_TOKEN": "your-token"
      }
    }
  }
}

Claude Code

claude mcp add tiny -- npx @codespar/mcp-tiny

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "tiny": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-tiny"],
      "env": {
        "TINY_API_TOKEN": "your-token"
      }
    }
  }
}

Tools (21)

| Tool | Purpose | |---|---| | list_products | List products in Tiny ERP | | get_product | Get product details by ID | | list_orders | List sales orders in Tiny ERP | | get_order | Get order details by ID | | list_contacts | List contacts in Tiny ERP | | get_contact | Get contact details by ID | | create_invoice | Create a fiscal invoice (NF-e) from an order in Tiny | | get_invoice | Get invoice details by ID | | get_stock | Get current stock for a product | | list_accounts_payable | List accounts payable in Tiny ERP | | update_stock | Update (adjust) product stock balance — credit or debit a quantity for a deposit | | list_categories | List product categories as a tree in Tiny ERP | | list_warehouses | List stock warehouses (depósitos) configured in Tiny ERP | | list_price_lists | List price lists (listas de preços) configured in Tiny ERP | | update_order_status | Change a sales order's status — useful for cancelling or marking as approved/billed | | list_invoices | List fiscal invoices (NF-e/NFC-e) in Tiny ERP | | get_invoice_xml | Get the XML payload of an issued invoice (NF-e) | | get_invoice_link | Get the DANFE PDF/link for an issued invoice | | send_invoice_email | Email an issued invoice to a recipient | | list_accounts_receivable | List accounts receivable in Tiny ERP | | get_account_receivable | Get a single accounts-receivable record by ID |

Authentication

Tiny uses a token parameter passed in each request.

Sandbox / Testing

Tiny provides test access via account registration.

Get your credentials

  1. Go to Tiny ERP
  2. Create an account
  3. Navigate to API settings to generate a token
  4. Set the TINY_API_TOKEN environment variable

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | TINY_API_TOKEN | Yes | API token from Tiny ERP |

Roadmap

v0.2 (planned)

  • create_product — Create a new product
  • update_product — Update product details
  • create_contact — Create a contact (customer/supplier)
  • update_contact — Update contact details
  • get_financial_summary — Get financial summary report

v0.3 (planned)

  • fiscal_reports — Generate fiscal reports (NF-e, NFS-e)
  • multi_company — Multi-company management

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT