datagate-mcp
MCP server for the DataGate billing platform API, providing read-only tools to manage customers, invoices, products, agreements, sites, and payments.
README
datagate-mcp
MCP server and CLI for the DataGate billing platform API.
- MCP server — read-only tools for Claude Desktop, Claude Code, and other MCP clients
- CLI — full CRUD for managing customers, invoices, products, agreements, sites, and payments
Install
pip install datagate-mcp
Or run the MCP server directly:
uvx datagate-mcp
Configuration
Set two environment variables:
| Variable | Description |
|---|---|
DATAGATE_API_KEY |
Bearer token from DataGate portal |
DATAGATE_CLIENT_ID |
Integration GUID from DataGate portal |
DATAGATE_BASE_URL |
(optional) Override base URL (default: https://api.dgportal.net) |
MCP Setup
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"datagate": {
"command": "uvx",
"args": ["datagate-mcp"],
"env": {
"DATAGATE_API_KEY": "your-api-key",
"DATAGATE_CLIENT_ID": "your-client-id"
}
}
}
}
Claude Code
Add to .mcp.json:
{
"mcpServers": {
"datagate": {
"command": "uvx",
"args": ["datagate-mcp"],
"env": {
"DATAGATE_API_KEY": "your-api-key",
"DATAGATE_CLIENT_ID": "your-client-id"
}
}
}
}
CLI Usage
# List customers
datagate customers list
datagate customers list --page 2 --page-size 25
# Get a customer
datagate customers get <customer-id>
# Search invoices
datagate invoices search --invoice-date 2026-01-01
datagate invoices search --period-start 2025-12-01 --period-end 2025-12-31
# Invoice line items
datagate invoices details <invoice-id>
# List products (optionally by customer)
datagate products list --customer-id <id>
# JSON output
datagate --json customers list
Write Operations
All write commands require --confirm:
datagate customers create --name "Acme Corp" --code "50099"
datagate customers update <id> --data '{"companyName": "Acme Corp LLC"}'
datagate customers delete <id> --confirm
datagate products create --customer-id <id> --code "Internet 1Gb"
datagate sites create --customer-id <id> --name "123 Main St"
# Payments are IRREVERSIBLE — void only via DataGate portal
datagate payments create --customer-id <id> --amount 100.00 --confirm
MCP Tools
| Tool | Description |
|---|---|
list_customers |
List customers with pagination |
get_customer |
Get single customer by ID |
search_invoices |
Search invoices by date/period |
get_invoice_details |
Invoice with line-item transactions |
list_products |
Products with pricing, filterable by customer |
get_product |
Single product with charges |
list_agreements |
Billing agreements, filterable by customer |
get_agreement |
Single agreement |
list_sites |
Physical locations, filterable by customer |
list_customer_users |
Portal login accounts |
list_service_items |
Service items |
list_rate_cards |
Rate cards |
list_kit_templates |
Kit templates |
Rate Limits
- 60 calls/minute
- 5,000 calls/day
- The client automatically paces requests to stay within limits.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.