MCP Buste Paga

MCP Buste Paga

Parses Italian INAZ payslip PDFs into a local SQLite database, enabling AI clients to analyze salary history, search items, and get detailed breakdowns while keeping data on your machine.

Category
Visit Server

README

MCP Buste Paga

An MCP (Model Context Protocol) server that parses Italian INAZ payslip PDFs and stores them in a local SQLite database. Connect it to any MCP-compatible AI client to analyze your salary history, search payslip items, and get detailed breakdowns — all with your data staying on your machine.

Installation

Requirements: Python 3.10+, uv

Clone the repository and install dependencies:

git clone https://github.com/morettimarco/MCP-Buste-Paga.git
cd MCP-Buste-Paga
uv sync

Verify it runs:

uv run mcp-buste-paga

Ingesting payslips

Once the server is connected to an AI client (see below), ask the assistant to ingest your payslip PDFs:

"Ingest my payslips from ~/Documents/Buste"

The ingest_payslips tool will recursively scan the directory for .pdf files, parse each one, and store the data. Duplicates are automatically skipped via SHA-256 hashing.

Database location

All data is stored in a local SQLite database at:

~/.mcp-buste-paga/buste_paga.db

The directory is created automatically on first run. The database contains four tables:

Table Description
aziende Company information (name, fiscal code, INPS/INAIL codes)
dipendenti Employee profile (name, fiscal code, hire date, role, contract)
buste_paga Monthly payslip summaries (gross, net, taxes, TFR, etc.)
voci_corpo_busta Individual payslip line items (base pay, overtime, deductions, etc.)

Available tools

Tool Description
ingest_payslips Scan a directory for PDF payslips, parse and store them. Returns a summary of ingested/skipped/failed files.
get_employee_summary Get employee profile and company details, plus the number of payslips stored.
get_salary_history_tool Get salary history (net pay, gross, deductions) ordered by most recent month. Optionally filter by year.
get_payslip_details_tool Get the full breakdown of a specific payslip by month and year, including all line items.
search_payslip_items Search payslip line items by keyword (e.g. "Straordinario", "Ferie", "Ticket") with per-month and grand totals.

Connecting to AI clients

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "buste-paga": {
      "command": "/full/path/to/uv",
      "args": [
        "--directory",
        "/full/path/to/MCP-Buste-Paga",
        "run",
        "mcp-buste-paga"
      ]
    }
  }
}

Note: Use absolute paths. Find your uv path with which uv.

Restart Claude Desktop. A hammer icon in the chat input confirms the server is connected.

Claude Code (CLI)

Add to your project's .mcp.json or run:

claude mcp add buste-paga -- uv --directory /full/path/to/MCP-Buste-Paga run mcp-buste-paga

ChatGPT Desktop

ChatGPT Desktop supports MCP servers via its settings. Go to Settings > Beta features > MCP Servers, click Add, and configure:

  • Name: buste-paga
  • Command: /full/path/to/uv
  • Arguments: --directory /full/path/to/MCP-Buste-Paga run mcp-buste-paga

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "buste-paga": {
      "command": "/full/path/to/uv",
      "args": [
        "--directory",
        "/full/path/to/MCP-Buste-Paga",
        "run",
        "mcp-buste-paga"
      ]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "buste-paga": {
      "command": "/full/path/to/uv",
      "args": [
        "--directory",
        "/full/path/to/MCP-Buste-Paga",
        "run",
        "mcp-buste-paga"
      ]
    }
  }
}

Privacy

All payslip data is parsed and stored locally on your machine. No data is sent to external services. The AI client only accesses the data through the MCP tools above.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured