Skip to main content
Glama
zvika-finally

Marqeta DiVA API MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MARQETA_PROGRAMYesYour Marqeta program name
MARQETA_APP_TOKENYesYour Marqeta DiVA API application token
ENABLE_LOCAL_STORAGENoEnable local storage and RAG features (requires RAG dependencies installed)false
MARQETA_ACCESS_TOKENYesYour Marqeta DiVA API access token

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_authorizations

Get authorization transaction data. Includes authorization amounts, counts, acting users/cards, and merchant information. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_settlements

Get settlement transaction data. Includes transaction status, post dates, purchase amounts, and network information. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_clearings

Get clearing/reconciliation data. Provides accounting-level line items for the transaction lifecycle. Ideal for reconciliation. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_declines

Get declined transaction data. Includes transaction tokens, decline reasons, merchant information, and amounts. Supports detail, day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_loads

Get load transaction data. Includes load amounts and transaction details. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_program_balances

Get program-level balance data. Includes beginning/ending bank balances, amounts to send/receive. Day-level aggregation only.

get_program_balances_settlement

Get settlement-based program balance data. Includes settlement balance information and fund transfers. Day-level aggregation only.

get_activity_balances

Get cardholder-level balance data. Includes individual cardholder balances, expandable by network. Day-level aggregation only.

get_cards

Get card detail data. Includes user tokens, card state, active status, and UAI. Detail-level only. Supports filtering by user, state, etc. Note: DiVA API limits results to 10,000 records per query. Use narrower date ranges or more specific filters for larger datasets.

get_users

Get user detail data. Includes user tokens, UAI, and number of physical/virtual cards. Detail-level only. Note: DiVA API limits results to 10,000 records per query. Use more specific filters for larger datasets.

get_chargebacks_status

Get chargeback status data. Includes chargeback state, tokens, and provisional credit status.

get_chargebacks_detail

Get detailed chargeback information. Includes transaction dates/types and comprehensive chargeback details.

get_transaction_token

Map Core API transaction tokens to DiVA report transaction tokens. CRITICAL for reconciliation workflows - links webhook transaction data to DiVA reports. Use this to reconcile transactions between Core API (webhooks) and DiVA reporting data.

get_card_counts

Get card count metrics aggregated over time. Track cards in circulation, active cards, suspended cards, and more. Essential for program health monitoring. Supports day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query.

get_user_counts

Get user count metrics aggregated over time. Track users with accounts, suspended users, and user growth. Essential for program monitoring and analytics. Supports day, week, and month aggregation. Note: DiVA API limits results to 10,000 records per query.

get_activity_balances_network_detail

Get activity balance data broken out by card network (Visa, Mastercard, Maestro, Cirrus, etc.). Includes PIN and signature purchases by network. Day aggregation only. Use 'expand' parameter to break out specific transaction types by network. Essential for understanding network-specific transaction volumes.

list_available_views

Get a list of all available DiVA API view endpoints with metadata. Useful for discovering available data sources.

get_view_schema

Get the schema definition for any view endpoint. Returns field names, data types, and descriptions.

export_view_to_file

Export datasets to a file (JSON or CSV). Note: DiVA API limits results to 10,000 records per query. To get more data, use narrower date ranges or more specific filters and call multiple times. Supports all view types: authorizations, settlements, clearings, declines, loads, cards, users, etc.

get_server_version

Get the MCP server version to verify it has been restarted with latest code changes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zvika-finally/marqeta-diva-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server