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

@snapexpense/mcp-server

v1.0.0

Published

MCP server for freelancer expense tracking - scan receipts, estimate tax deductions, browse IRS Schedule C categories

Downloads

21

Readme

SnapExpense MCP Server

An MCP (Model Context Protocol) server for freelancer expense tracking. Integrates with Claude Desktop to provide AI-powered receipt scanning, tax deduction estimates, and IRS Schedule C category guidance.

Features

  • scan_receipt - AI-powered receipt scanning using Claude Vision. Extracts vendor, amount, date, and suggests IRS tax category.
  • estimate_deduction - Calculate estimated tax savings for any business expense, including federal income tax and self-employment tax.
  • get_tax_categories - Browse all 19 IRS Schedule C categories with examples and deduction percentages.

Installation

Claude Desktop (Recommended)

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "snapexpense": {
      "command": "npx",
      "args": ["-y", "@snapexpense/mcp-server"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

Windows users: Use this format instead:

{
  "mcpServers": {
    "snapexpense": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@snapexpense/mcp-server"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

Global Installation

npm install -g @snapexpense/mcp-server

Then configure Claude Desktop:

{
  "mcpServers": {
    "snapexpense": {
      "command": "snapexpense-mcp",
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

Configuration

| Environment Variable | Required | Description | |---------------------|----------|-------------| | ANTHROPIC_API_KEY | Yes | Your Anthropic API key for Claude Vision (receipt scanning) |

Get your API key at console.anthropic.com

Usage Examples

Once configured, ask Claude:

  • "Scan this receipt" (attach an image)
  • "How much would I save on taxes for a $200 software subscription?"
  • "Show me the IRS tax categories for business expenses"
  • "What category does a client lunch fall under?"
  • "Estimate my tax savings on $500 of office supplies"

Tools

scan_receipt

Scan a receipt image and extract:

  • Vendor name
  • Total amount
  • Purchase date
  • Suggested IRS Schedule C category
  • Estimated tax savings

Parameters:

  • image_url (string) - URL of the receipt image
  • image_base64 (string) - Base64-encoded receipt image

estimate_deduction

Calculate estimated tax savings for a business expense.

Parameters:

  • amount (number, required) - Expense amount in USD
  • category (string, required) - Expense category (e.g., "Software", "Office Supplies")
  • tax_bracket (number, optional) - Your tax bracket percentage (default: 25%)

Returns:

  • Federal income tax savings
  • Self-employment tax savings (15.3% on 92.35% of net SE income)
  • Annual impact if recurring expense

get_tax_categories

Browse IRS Schedule C categories.

Parameters:

  • filter (string, optional) - Filter categories by name or description

IRS Schedule C Categories

All 19 IRS Schedule C categories included:

| Category | IRS Line | Deductible | |----------|----------|------------| | Advertising & Marketing | Line 8 | 100% | | Car & Vehicle Expenses | Line 9 | 100% | | Commissions & Fees | Line 10 | 100% | | Contract Labor | Line 11 | 100% | | Depreciation | Line 13 | 100% | | Employee Benefits | Line 14 | 100% | | Insurance | Line 15 | 100% | | Interest | Line 16 | 100% | | Legal & Professional Services | Line 17 | 100% | | Office Expenses | Line 18 | 100% | | Rent/Lease | Line 20 | 100% | | Repairs & Maintenance | Line 21 | 100% | | Supplies | Line 22 | 100% | | Taxes & Licenses | Line 23 | 100% | | Travel | Line 24a | 100% | | Meals | Line 24b | 50% | | Utilities | Line 25 | 100% | | Home Office | Line 30 | 100% | | Other Expenses | Line 27a | 100% |

About SnapExpense

SnapExpense is an expense tracking app for freelancers and self-employed individuals.

Website: snapexpenses.com

Features:

  • Snap a photo of any receipt
  • AI extracts all details automatically
  • Expenses categorized for IRS Schedule C
  • Export reports for tax time

Development

# Clone the repo
git clone https://github.com/willrenzo39/snap-expense.git
cd snap-expense/chatgpt-app

# Install dependencies
npm install

# Run in development
npm run dev:stdio

# Build
npm run build

License

MIT

Support