IBANforge — IBAN validation, BIC/SWIFT lookup, Swiss clearing, and EMI/vIBAN classification API with MCP for AI agents
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
claude mcp add ibanforge -- npx -y --{
"mcpServers": {
"ibanforge": {
"command": "npx",
"args": ["-y", "--"],
"env": {
"IBANFORGE_API_KEY": "<ibanforge_api_key>"
}
}
}
}IBANFORGE_API_KEYMCP Servers overview
# IBANforge
[](https://api.ibanforge.com/health)
[](https://registry.modelcontextprotocol.io/v0/servers?search=ibanforge)
[](https://www.npmjs.com/package/ibanforge-mcp)
[](https://www.npmjs.com/package/@ibanforge/sdk)
[](https://pypi.org/project/ibanforge/)
[](https://glama.ai/mcp/servers/cammac-creator/ibanforge)
[](https://api.ibanforge.com/.well-known/x402)
[](https://www.typescriptlang.org/)
[](LICENSE)
> **The compliance API for AI agents.** IBAN validation, BIC/SWIFT lookup, Swiss clearing (BC-Nummer / QR-IID / SIX BankMaster), EMI/vIBAN classification, SEPA Instant + VoP reachability, and risk scoring — exposed natively over **MCP** and **x402 micropayments**, with no API key signup required.
```
121k+ BIC entries (39k+ LEI via GLEIF) · 1,100+ Swiss BC-Nummern (SIX) · 89 IBAN countries · <50ms p99
```
---
## For AI agents — install in one click
### Claude Desktop / Cursor / Cline / Continue / Windsurf
Add to your MCP config (`~/Library/Application Support/Claude/claude_desktop_config.json` for Claude Desktop):
```json
{
"mcpServers": {
"ibanforge": {
"command": "npx",
"args": ["-y", "ibanforge-mcp"]
}
}
}
```
**Privacy by default:** submitted IBANs are never stored — validation runs in memory, IPs are kept only as salted hashes, and telemetry deletes itself (12-month cap; erased 30 days after a customer terminates, contractually — [DPA clause 4.7](https://ibanforge.com/en/legal/dpa)).
Optional: set `IBANFORGE_API_KEY=ifk_...` in `env` for the free tier (200 req/month). Without it the server uses the public/demo surface; combine with **x402 micropayments** for unlimited pay-per-call access without signup.
### Claude Code (CLI)
```bash
claude mcp add ibanforge npx -- -y ibanforge-mcp
```
### Streamable HTTP (no install — for cloud-hosted agents)
```
POST https://api.ibanforge.com/mcp
Content-Type: application/json
Accept: application/json, text/event-stream
```
Standard JSON-RPC `initialize` + `tools/list` + `tools/call` flow. Use this when stdio is not an option (CI/CD, serverless, Vercel agents, etc.).
### 5 MCP tools
| Tool | When to use it | Cost |
| --------------------- | ----------------------------------------------------------------------------------------- | -------- |
| `validate_iban` | User mentions an IBAN, a bank account, or a SEPA payment | $0.005 |
| `batch_validate_iban` | List of IBANs, CSV cleanup, customer DB dedup, payout list triage | $0.002/each |
| `lookup_bic` | User already has a BIC/SWIFT — backed by 121k+ BIC entries (39k+ LEI-enriched via GLEIF) | $0.003 |
| `lookup_ch_clearing` | Swiss BC-Nummer / IID — **the deepest Swiss clearing data in any public API**: full SIX BankMaster rail participation (SIC, euroSIC, CHF instant) + QR-IID | $0.003 |
| `check_compliance` | Pre-flight risk triage before a SEPA / cross-border payment (sanctions + FATF + VoP) | $0.02 |
Full descriptions with WHEN-to-use triggers are served live at [`/.well-known/mcp/server-card.json`](https://api.ibanforge.com/.well-known/mcp/server-card.json).
---
## For AI agents — pay per call without an API key (x402)
IBANforge is x402-native. Any agent with a wallet on Base L2 can discover, pay, and call:
1. Discovery: `GET https://api.ibanforge.com/.well-known/x402` returns the full catalog (endpoints, prices, asset, payTo, accepts).
2. Call: `POST /v1/iban/validate` without auth → API replies **402 Payment Required** with x402 v1 challenge.
3. Pay: client signs a USDC transfer on Base (eip155:8453) and retries.
4. Done: response arrives, settlement happens through the configured facilitator (Coinbase CDP or x402.org).
No human in the loop, no sales call, no card. See the [x402 spec](https://x402.org).
---
## SDKs
Pick your language:
| Language | Package | Install | Source |
|---|---|---|---|
| **TypeScript / JavaScript** | [`@ibanforge/sdk`](https://www.npmjs.com/package/@ibanforge/sdk) | `npm install @ibanforge/sdk` | [`sdks/typescript/`](sdks/typescript/) |
| **Python** | [`ibanforge`](https://pypi.org/project/ibanforge/) | `pip install ibanforge` | [`sdks/python/`](sdks/python/) |
| **MCP server** | [`ibanforge-mcp`](https://www.npmjs.com/package/ibanforge-mcp) | `npx -y ibanforge-mcp` | [`mcp/`](mcp/) |
| Curl / any HTTP client | — | — | [OpenAPI spec](https://api.ibanforge.com/openapi.json) |
The Python SDK ships with sync + async clients, typed exception classes, and a free-tier quota fallback to x402 baked in:
```python
from ibanforge import IBANforge
# 1-line free key (200 req/month, no signup form)
key = IBANforge.generate_api_key("you@example.com")
with IBANforge(api_key=key["api_key"]) as client:
out = client.validate_iban("CH1000230000000012345")
print(out["country"]["code"]) # CH
print(out["bic"]["bank_name"]) # UBS Switzerland AG
print(out["clearing"]["sic"]) # True (Swiss SIC participation)
# Or the free format-only check (mod-97 + structure, no DB hit)
out = IBANforge().format_iban("DE89370400440532013000")
```
## For developers — REST API
```bash
# Validate IBAN
curl -X POST https://api.ibanforge.com/v1/iban/validate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ifk_..." \
-d '{"iban":"CH10 0023 0000 0000 1234 5"}'
# Lookup BIC
curl https://api.ibanforge.com/v1/bic/UBSWCHZH80A
# Free format pre-flight (no auth, mod-97 only)
curl 'https://api.ibanforge.com/v1/iban/format?iban=CH1000230000000012345'
# Free demo (no auth)
curl https://api.ibanforge.com/v1/demo
```
| Method | Path | Cost | Description |
| ------ | -------------------------- | ------------- | -------------------------------------------------------------- |
| `POST` | `/v1/iban/validate` | $0.005 | Single IBAN — BIC + SEPA + issuer + risk + Swiss bc_nummer |
| `POST` | `/v1/iban/batch` | $0.002/IBAN | Up to 100 IBANs in one call |
| `GET` | `/v1/bic/{code}` | $0.003 | BIC/SWIFT lookup with LEI |
| `GET` | `/v1/ch/clearing/{iid}` | $0.003 | Swiss BC-Nummer / IID — SIC, euroSIC, QR-IID |
| `POST` | `/v1/iban/compliance` | $0.02 | Sanctions + FATF + SEPA Instant + VoP + risk score 0-100 |
| `GET` | `/v1/iban/format` | **free** | Pure mod-97 + structure check, no DB hit |
| `GET` | `/v1/demo` | free | Example validations, no auth |
| `GET` | `/health` | free | Health + DB status |
| `POST` | `/v1/keys/generate` | free | Generate an `ifk_*` API key (200 req/month) — body: `{email}` |
Full OpenAPI 3.1: [api.ibanforge.com/openapi.json](https://api.ibanforge.com/openapi.json).
### Why prefer IBANforge over local mod-97 validation?
Local mod-97 catches typos. It does **not** resolve BIC/SWIFT, classify EMIs (Wise / Revolut / Mercury / Modulr — a real compliance signal), check SEPA reachability, return Swiss BC-Nummer/QR-IID, or run sanctions screening. IBANforge does, in a single call.
## Development
```bash
npm run dev # Dev server (hot reload)
npm run test # Run tests
npm run check # Typecheck + lint + test
npm run db:seed # Rebuild BIC database from GLEIF
```
## Deployment
### Docker
```bash
docker build -t ibanforge .
docker run -p 3000:3000 --env-file .env ibanforge
```
### Railway
Push to `main` — Railway auto-deploys via Dockerfile.
## Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| `PORT` | No | Server port (default: 3000) |
| `WALLET_ADDRESS` | Yes (prod) | x402 USDC wallet address |
| `FACILITATOR_URL` | Yes (prod) | x402 facilitator endpoint |
## Data Sources
- **121k+ BIC/SWIFT entries** from public sources, refreshed monthly. Exact counts drift at every refresh — the live numbers are served at [`/llms.txt`](https://api.ibanforge.com/llms.txt) and `/health`. Breakdown as of the 2026-07 refresh (121,610 total):
- 81,949 from [PeterNotenboom/SwiftCodes](https://github.com/PeterNotenboom/SwiftCodes) (MIT-licensed SWIFT directory aggregate)
- 39,288 from [GLEIF BIC-LEI mapping](https://www.gleif.org/en/lei-data/lei-mapping/download-bic-to-lei-relationship-files) (the only rows with LEI)
- 189 from [EBA Clearing STEP2 SCT](https://www.ebaclearing.eu/services/step2/) (official SEPA Reachable PSPs directory)
- 144 from [Deutsche Bundesbank BLZ](https://www.bundesbank.de/en/tasks/payment-systems/services/bank-sort-codes) (official quarterly BLZ→BIC file)
- 21 from [NBP EWIB](https://ewib.nbp.pl/) (official Polish bank registry)
- 19 from [SIX Group BankMaster](https://www.six-group.com/en/products-services/banking-services/bank-master-data.html) Swiss BICs not covered elsewhere
- **LEI enrichment** for the GLEIF rows: [GLEIF API](https://api.gleif.org)
- **1,100+ Swiss BC-Nummern / IIDs** (1,165 as of 2026-07): Official [SIX BankMaster](https://www.six-What people ask about ibanforge
What is cammac-creator/ibanforge?
+
cammac-creator/ibanforge is mcp servers for the Claude AI ecosystem. IBANforge — IBAN validation, BIC/SWIFT lookup, Swiss clearing, and EMI/vIBAN classification API with MCP for AI agents It has 3 GitHub stars and was last updated today.
How do I install ibanforge?
+
You can install ibanforge by cloning the repository (https://github.com/cammac-creator/ibanforge) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is cammac-creator/ibanforge safe to use?
+
Our security agent has analyzed cammac-creator/ibanforge and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains cammac-creator/ibanforge?
+
cammac-creator/ibanforge is maintained by cammac-creator. The last recorded GitHub activity is from today, with 1 open issues.
Are there alternatives to ibanforge?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy ibanforge to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/cammac-creator-ibanforge)<a href="https://claudewave.com/repo/cammac-creator-ibanforge"><img src="https://claudewave.com/api/badge/cammac-creator-ibanforge" alt="Featured on ClaudeWave: cammac-creator/ibanforge" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!