Skip to main content
MCP server CX Codex

ANAF SPV — Claude Code MCP server: features and setup

The ANAF SPV MCP server for Claude Code retrieves documents from an SPV inbox and sends requests to ANAF. It can also validate declarations and file D212.

MIT ★ 5 updated 2026-10-29

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env ANAF_SPV_USERNAME=<ANAF_SPV_USERNAME> --env ANAF_SPV_PASSWORD_FILE=<ANAF_SPV_PASSWORD_FILE> --env ANAF_SPV_MAIL_MCP_URL=<ANAF_SPV_MAIL_MCP_URL> --env ANAF_SPV_MAIL_MCP_TOKEN_FILE=<ANAF_SPV_MAIL_MCP_TOKEN_FILE> --env ANAF_SPV_MAIL_MCP_COMMAND=<ANAF_SPV_MAIL_MCP_COMMAND> --transport stdio anaf-spv -- npx -y @foreverworks/mcp-anaf-spv
Open on GitHub

What ANAF SPV does

The server reads notices and files ANAF delivers to an SPV account, including payment confirmations. It can ask ANAF for a document and save it when it arrives. Messages sent through the contact form run as a dry run unless explicitly enabled.

It validates declarations and files D212; the client asks for confirmation before each filing. Sign-in requires an SPV account for an individual that uses a username and password. The password comes from a file or a vault MCP server. A mail MCP server can retrieve sign-in codes; otherwise, someone enters each code manually. Declaration validation requires Java 8 or newer. ANAF offers no API for this account type, so the server reads SPV web pages.

What it helps with

  • retrieve new notices and files from an SPV inbox
  • request a statement of amounts owed to ANAF
  • validate a declaration and file D212

Example prompts for the agent

  • Show me new messages from ANAF in my SPV inbox.
  • Request my statement of amounts owed and save it when it arrives.
  • Validate d300-2026-09.xml and tell me the VAT payable.

How to install ANAF SPV

Platform CLI

claude mcp add --env ANAF_SPV_USERNAME=<ANAF_SPV_USERNAME> --env ANAF_SPV_PASSWORD_FILE=<ANAF_SPV_PASSWORD_FILE> --env ANAF_SPV_MAIL_MCP_URL=<ANAF_SPV_MAIL_MCP_URL> --env ANAF_SPV_MAIL_MCP_TOKEN_FILE=<ANAF_SPV_MAIL_MCP_TOKEN_FILE> --env ANAF_SPV_MAIL_MCP_COMMAND=<ANAF_SPV_MAIL_MCP_COMMAND> --transport stdio anaf-spv -- npx -y @foreverworks/mcp-anaf-spv

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ANAF SPV

How do I install ANAF SPV in Claude Code?

Run claude mcp add anaf-spv -- npx -y @foreverworks/mcp-anaf-spv. The server requires Node 22.19 or newer.

What does ANAF SPV do?

It retrieves SPV messages and documents, requests files from ANAF, validates declarations, and files D212. The client requests confirmation before filing.

What does ANAF SPV need to run?

It needs Node 22.19 or newer and an individual SPV account that signs in with a username and password. Store the password in a file or vault MCP server; a mail MCP server retrieves sign-in codes automatically, or someone can enter each code. Declaration validation also requires Java 8 or newer.

Similar MCP servers

All MCP servers for Finance and business →

From the same set15

The whole set →
ECB exchange rates The ECB exchange rates MCP server for Claude Code fetches the European Central Bank’s euro reference rates and converts amounts between currencies. Ask for a rate on a specific date or for a period. CX Codex +1 ★ 5repo stars Expo Application Services Expo Application Services is an MCP server for Claude Code that diagnoses failed builds, workflow runs, and store submissions. It can also inspect credentials and manage updates. CX Codex +1 ★ 5repo stars Bitwarden This MCP server for Claude Code connects an agent to a separate Bitwarden vault. It handles login records, 2FA codes, and passkeys. CX Codex +1 ★ 5repo stars App Store and Google Play This MCP server for Claude Code reads App Store and Google Play reviews, plus TestFlight feedback and crash logs. It can publish replies under the developer’s name. CX Codex +1 ★ 5repo stars Oblio Issues and tracks Romanian fiscal invoices through the Oblio API. Computes totals according to ANAF rules directly in AI coding assistants. CX Codex +1 ★ 5repo stars Notion Connect an AI agent to Notion to search pages, read their contents, and make workspace changes. Useful when you want to work with notes and databases from a chat. CX Codex +1 ★ 5repo stars Enable Banking Enable Banking — an MCP server to inspect balances and export transactions across European banks via PSD2 without transferring funds. CX Codex +1 ★ 5repo stars BNR exchange rates BNR exchange rates is an MCP server for Claude Code that queries Romania’s central bank rates and converts amounts to or from RON. It checks fixings by date and annual D212 averages. CX Codex +1 ★ 5repo stars

Project sponsors

Companies that keep this analytics open