How to Use the Mastercard MCP in Claude Code
Pipe Mastercard BIN data and merchant locations directly into your terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Mastercard MCP to Claude Code
Create your Vinkius account to connect Mastercard to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Analyze BINs from the CLI
`bin_lookup` returns the issuer, card type, and country from a 6-digit prefix. You run Claude Code in your terminal to parse a CSV of failed transactions. The agent hits the API and appends the issuing bank to your logs. You get instant visibility into payment failures without leaving your shell. `merchant_industry_codes` pulls the higher-level category groupings. You pipe this data into a shell script to map your internal merchant database to standard network classifications. The MCP Server handles the formatting. You just write the script.
Script fraud reporting pipelines
`submit_fraud_report` sends confirmed fraud cases to the network database. You trigger Claude Code from a cron job. It reads your flagged database records and pushes them to the API automatically. It handles the authentication and request signing behind the scenes. The agent formats the transaction amounts and counterfeit codes perfectly. You don't write the boilerplate. You just give Claude Code the local database access and let it hit the network endpoints headlessly. It runs quietly in the background.
Query Mastercard MCP Server
`nearby_locations` finds points of interest and payment infrastructure near specific GPS coordinates. You use Claude Code to run batch audits on merchant density. It iterates through a list of coordinates and outputs a clean JSON report directly to standard out. `get_merchant` pulls the specific contact info and operating hours. The agent grabs this data and pipes it straight into your monitoring tools. You get real network data without leaving your SSH session. It turns a manual web portal lookup into a single command.
Set up Mastercard MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seemastercard-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Mastercard transactions." It will automatically discover and invoke the available Mastercard tools.
claude mcp add --transport http mastercard-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Mastercard MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Mastercard MCP today
We host it, we monitor it, we maintain it. You just paste one token.