pop-mcp CLAUDE.md

pop-mcp CLAUDE.md is an instructions file for coding agents from getpopapi/pop-mcp. It costs 5,176 tokens per session, scanned A, original, MIT.

Project instructions for working on pop-mcp, a TypeScript MCP server that lets AI assistants use the POP Cloud API for electronic invoicing. They describe the project, related codebases, architecture, and available tools.

In plain words
What is it for?
Finding the right source files, understanding the invoice schema and API client, and working with invoicing, validation, status, archival, PDF, Peppol, SdI, KSeF, ZUGFeRD, or onboarding features.
Why use it?
They give an agent the context needed to understand the repository and avoid guessing about API behavior or invoice fields.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/getpopapi/pop-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/getpopapi/pop-mcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pop-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/getpopapi/pop-mcp/claude-md.svg)](https://agentmods.dev/instructions/getpopapi/pop-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/getpopapi/pop-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/getpopapi/pop-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,176 This file is loaded in full into every session.
When invoked 5,176 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.05176 $0.05176
Opus 5 $0.02588 $0.02588
Sonnet 5 $0.01035 $0.01035
Haiku 4.5 $0.00518 $0.00518

Measured 3d ago against content hash f143c6ec9dca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pop-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pop-mcp — Project Context for Claude

What This Project Is

A TypeScript MCP (Model Context Protocol) server for the POP Cloud API, enabling LLMs (Claude, etc.) to generate, submit, and manage electronic invoices directly from AI assistants.

The server exposes invoice-generation, integration, status, validation, archival, and onboarding tools covering the maintained POP API surface, including SdI, Peppol, KSeF, ZUGFeRD, PDF, and Zoho.


These two sibling directories are the source of truth for the POP API:

  • ../pop-cloud-api — The POP Cloud API backend (WordPress REST API, PHP)
  • ../n8n-nodes-pop — n8n community nodes for POP (shows all API call patterns)

When in doubt about API behaviour, endpoint shapes, or field meanings: read those.


Architecture

src/
├── index.ts              stdio transport entry point
├── constants.ts          API base URLs + endpoint paths
├── types.ts              TypeScript interfaces (responses, errors)
├── client.ts             Axios client, auth (POP_API_KEY header), error handling
├── schemas/
│   └── invoice.ts        Full Zod schema for FatturaPA invoice data structure
└── tools/
    ├── invoices.ts       SdI, Peppol, PDF, KSeF, ZUGFeRD, and Zoho invoice actions
    ├── status.ts         pop_get_invoice_status, pop_get_peppol_document, pop_get_sdi_document
    └── advanced.ts       pop_verify_sdi_document, pop_preserve_document

Transport: stdio (for Claude Desktop and similar local clients)
Stack: TypeScript, @modelcontextprotocol/sdk, axios, zod


The 8 Tools

Tool Endpoint Plan
pop_create_sdi_invoice POST /create-xml Any
pop_create_peppol_invoice POST /create-ubl Any (Basic+ to submit)
pop_create_pdf_invoice POST /create-pdf Any (Basic+ for email)
pop_create_ksef_invoice POST /create-ksef-xml Any (KSeF setup for provider submission)
pop_create_zugferd_invoice POST /create-zugferd Any
pop_sync_zoho_document POST /integration/zoho/sync Zoho connector required
pop_get_invoice_status POST /sdi/document-notifications Any
pop_get_peppol_document POST /peppol/document-get Basic+
pop_get_sdi_document POST /sdi/document-get Basic+
pop_verify_sdi_document POST /sdi/document-verify Basic+
pop_preserve_document POST /sdi/document-preserve Basic+

Read the full file on GitHub · 399 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 399 lines · 5,176 tokens per session scan A f143c6ec9dca

Subscribe to this mod's changes

pop-mcp CLAUDE.md is an instructions file published in the GitHub repository getpopapi/pop-mcp (0 stars, last pushed 23d ago), licensed MIT. It adds 5,176 tokens to every session, about $0.0259 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

InvestSkill GEMINI.md

Instructions for yennanliu/InvestSkill, covering investskill — gemini cli setup & usage guide, installation & setup, quick start, navigate to the investskill directory and start gemini cli (loads gemini.md automatically).

yennanliu/InvestSkill · 3,074 tokens

LLM-TradeBot copilot-instructions.md

Instructions for EthanAlgoX/LLM-TradeBot, covering repository instructions, core rules, validation and ai asset governance.

EthanAlgoX/LLM-TradeBot · 809 tokens

Convertible-Bond-Pricing-Research CLAUDE.md

Instructions for ericxuzhesheng/Convertible-Bond-Pricing-Research, covering claude.md — convertible bond pricing research, current published state and routine commands.

ericxuzhesheng/Convertible-Bond-Pricing-Research · 363 tokens

bukio-cli AGENTS.md

AGENTS.md instructions for erikvankempen/bukio-cli, covering agents.md — bukio-cli agent manual, 1. house rules (non-negotiable), 2. environment, 3. command quick reference and 3.1 jurisdiction profiles (16 markets).

erikvankempen/bukio-cli · 24,344 tokens

bullet-bots AGENTS.md

Instructions for bulletxyz/bullet-bots, covering bullet-bots, build & test, run the faucet curl printed by keygen, then, or (base58 from phantom/delegation export, or hex) and architecture — the harness, feeds, and actors.

bulletxyz/bullet-bots · 3,972 tokens

romaco-mcp AGENTS.md

AGENTS.md instructions for romaco-labs/romaco-mcp, covering purpose, read first, product boundaries, architecture invariants and development method.

romaco-labs/romaco-mcp · 679 tokens