
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that interacts with the Stripe Tax and Invoices API to retrieve and modify tax settings, calculations, and invoice data.
Stripe Tax and Invoices MCP Server is cataloged as an MCP server attributed to ghassansalloum. An MCP server that interacts with the Stripe Tax and Invoices API to retrieve and modify tax settings, calculations, and invoice data. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Stripe Tax and Invoices MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes; each tool takes an optional apiKey parameter, and if it is not provided the API key from the environment variable is used.
README.md · d7bb5cd84215 · Fetched 2026-11-13 12:57:20 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server that interacts with the Stripe Tax and Invoices API to retrieve and modify tax settings, calculations, and invoice data.
Clone the repository:
git clone <repository-url>
cd stripe-tax-api-mcp-server
Install dependencies:
npm install
(you may need to run npm install @modelcontextprotocol/sdk too)
Configure environment variables:
cp .env.example .env
Edit the .env file to add your Stripe API key:
STRIPE_API_KEY=sk_test_your_test_key_here
⚠️ Important: The test API key included in the sample files has expired. You must provide your own valid API key from your Stripe account.
Start the server:
npm start
The server can be configured using environment variables:
.env file as STRIPE_API_KEY"stripe-tax": {
"command": "node",
"args": [
"/<PATH_TO_YOUR_CLONED>/stripe-tax-mcp-server"
],
"env": {
"STRIPE_API_KEY": "<YOUR_API_KEY>"
}
}
This MCP server provides tools for interacting with Stripe Tax API for settings, calculations, and product tax code associations.
Retrieves current tax settings from Stripe.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.Example:
{
"name": "getTaxSettings",
"arguments": {}
}
Example with API key:
{
"name": "getTaxSettings",
"arguments": {
"apiKey": "sk_test_your_stripe_key"
}
}
Response:
{
"default_tax_jurisdiction": "US",
"head_office": {
"address": {
"country": "US",
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
}
},
"tax_id": {
"type": "us_ein",
"value": "12-3456789"
},
"status": {
"active": true
}
}
Updates tax settings in Stripe.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.settings: An object containing tax settings to update
default_tax_jurisdiction: Default country for tax calculationhead_office: Company address informationtax_id: Tax identification informationExample using environment variable API key:
{
"name": "updateTaxSettings",
"arguments": {
"settings": {
"default_tax_jurisdiction": "CA",
"tax_id": {
"type": "ca_bn",
"value": "123456789"
}
}
}
}
Example with explicit API key:
{
"name": "updateTaxSettings",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"settings": {
"default_tax_jurisdiction": "CA",
"tax_id": {
"type": "ca_bn",
"value": "123456789"
}
}
}
}
Retrieves a tax calculation from Stripe by its ID.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.calculationId: The ID of the tax calculation to retrieveExample using environment variable API key:
{
"name": "retrieveTaxCalculation",
"arguments": {
"calculationId": "taxcalc_12345"
}
}
Example with explicit API key:
{
"name": "retrieveTaxCalculation",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"calculationId": "taxcalc_12345"
}
}
Response:
{
"id": "taxcalc_12345",
"object": "tax.calculation",
"amount_total": 1090,
"currency": "usd",
"customer_details": {
"address": {
"country": "US",
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"address_source": "shipping",
"tax_ids": []
},
"line_items_subtotal_amount": 1000,
"shipping_cost_subtotal_amount": 0,
"tax_amount_exclusive": 90,
"tax_amount_inclusive": 0,
"tax_breakdown": [
{
"amount": 60,
"jurisdiction": "California",
"sourcing": "destination",
"tax_type": "sales_tax"
},
{
"amount": 30,
"jurisdiction": "San Francisco",
"sourcing": "destination",
"tax_type": "local_tax"
}
],
"tax_date": "2023-01-15",
"expires_at": 1673913600
}
Creates a new tax calculation in Stripe.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.params: Object containing parameters for the tax calculation:
currency: The currency for the calculation (e.g., 'usd')customer_details: Customer information including address and optional tax IDsline_items: Array of line items with amounts and optional tax codesExample using environment variable API key:
{
"name": "createTaxCalculation",
"arguments": {
"params": {
"currency": "usd",
"customer_details": {
"address": {
"country": "US",
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"address_source": "shipping",
"tax_ids": [
{
"type": "us_ein",
"value": "12-3456789"
}
]
},
"line_items": [
{
"amount": 1000,
"reference": "product_123",
"tax_code": "txcd_30060006",
"tax_behavior": "exclusive"
}
]
}
}
}
Example with explicit API key:
{
"name": "createTaxCalculation",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"params": {
"currency": "usd",
"customer_details": {
"address": {
"country": "US",
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"address_source": "shipping",
"tax_ids": [
{
"type": "us_ein",
"value": "12-3456789"
}
]
},
"line_items": [
{
"amount": 1000,
"reference": "product_123",
"tax_code": "txcd_30060006",
"tax_behavior": "exclusive"
}
]
}
}
}
Response:
{
"id": "taxcalc_12345",
"object": "tax.calculation",
"amount_total": 1090,
"currency": "usd",
"customer_details": {
"address": {
"country": "US",
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"tax_ids": [
{
"type": "us_ein",
"value": "12-3456789"
}
]
},
"line_items_subtotal_amount": 1000,
"shipping_cost_subtotal_amount": 0,
"tax_amount_exclusive": 90,
"tax_amount_inclusive": 0,
"tax_breakdown": [
{
"amount": 60,
"jurisdiction": "California",
"sourcing": "destination",
"tax_type": "sales_tax"
},
{
"amount": 30,
"jurisdiction": "San Francisco",
"sourcing": "destination",
"tax_type": "local_tax"
}
],
"tax_date": "2023-01-15",
"expires_at": 1673913600
}
Retrieves line items for a tax calculation from Stripe by its ID.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.calculationId: The ID of the tax calculation to retrieve line items forlimit (optional): Maximum number of line items to returnstarting_after (optional): Pagination cursor for continuing from a previous listending_before (optional): Pagination cursor for returning results before this IDExample using environment variable API key:
{
"name": "listTaxCalculationLineItems",
"arguments": {
"calculationId": "taxcalc_12345",
"limit": 3
}
}
Example with explicit API key:
{
"name": "listTaxCalculationLineItems",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"calculationId": "taxcalc_12345",
"limit": 3
}
}
Response:
{
"object": "list",
"url": "/v1/tax/calculations/taxcalc_12345/line_items",
"has_more": false,
"data": [
{
"id": "li_1NpJD42eZvKYlo2CxyzABC",
"object": "tax.calculation_line_item",
"amount": 1000,
"amount_tax": 100,
"livemode": false,
"product": "prod_12345",
"quantity": 1,
"reference": "product_123",
"tax_behavior": "exclusive",
"tax_breakdown": [
{
"amount": 70,
"jurisdiction": "California",
"sourcing": "destination",
"tax_rate_details": {
"percentage_decimal": "0.07",
"tax_type": "sales_tax"
},
"taxability_reason": "standard",
"taxable_amount": 1000
},
{
"amount": 30,
"jurisdiction": "San Francisco",
"sourcing": "destination",
"tax_rate_details": {
"percentage_decimal": "0.03",
"tax_type": "local_tax"
},
"taxability_reason": "standard",
"taxable_amount": 1000
}
],
"tax_code": "txcd_30060006",
"taxable_amount": 1000
}
]
}
Updates a product in Stripe to associate a tax code with it.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.productId: The ID of the product to updatetaxCode: The tax code to associate with the product (e.g., 'txcd_30060006')Example using environment variable API key:
{
"name": "updateProductTaxCode",
"arguments": {
"productId": "prod_123456",
"taxCode": "txcd_30060006"
}
}
Example with explicit API key:
{
"name": "updateProductTaxCode",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"productId": "prod_123456",
"taxCode": "txcd_30060006"
}
}
Response:
{
"id": "prod_123456",
"object": "product",
"active": true,
"created": 1681234567,
"description": "Premium Widget",
"images": [],
"tax_code": "txcd_30060006",
"name": "Widget Pro",
"updated": 1681234789
}
Retrieves a product from Stripe and its associated tax code.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.productId: The ID of the product to retrieveExample using environment variable API key:
{
"name": "getProductTaxCode",
"arguments": {
"productId": "prod_123456"
}
}
Example with explicit API key:
{
"name": "getProductTaxCode",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"productId": "prod_123456"
}
}
Response:
{
"product": {
"id": "prod_123456",
"object": "product",
"active": true,
"created": 1681234567,
"description": "Premium Widget",
"images": [],
"tax_code": "txcd_30060006",
"name": "Widget Pro",
"updated": 1681234789
},
"tax_code": "txcd_30060006",
"has_tax_code": true
}
Retrieves a list of invoices from Stripe.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.limit (optional): Maximum number of invoices to returncustomer (optional): Customer ID to filter bystatus (optional): Invoice status to filter by ('draft', 'open', 'paid', 'uncollectible', 'void')starting_after (optional): Pagination cursor for continuing from a previous listending_before (optional): Pagination cursor for returning results before this IDExample using environment variable API key:
{
"name": "listInvoices",
"arguments": {
"limit": 5,
"customer": "cus_123456"
}
}
Example with explicit API key:
{
"name": "listInvoices",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"limit": 5,
"status": "paid"
}
}
Response:
{
"object": "list",
"url": "/v1/invoices",
"has_more": true,
"data": [
{
"id": "in_1234567890",
"object": "invoice",
"account_country": "US",
"account_name": "Your Company",
"amount_due": 10000,
"amount_paid": 10000,
"amount_remaining": 0,
"customer": "cus_123456",
"currency": "usd",
"status": "paid",
"total": 10000,
"subtotal": 9500,
"tax": 500
},
{
"id": "in_0987654321",
"object": "invoice",
"account_country": "US",
"account_name": "Your Company",
"amount_due": 5000,
"amount_paid": 5000,
"amount_remaining": 0,
"customer": "cus_123456",
"currency": "usd",
"status": "paid",
"total": 5000,
"subtotal": 4750,
"tax": 250
}
]
}
Retrieves a specific invoice from Stripe by ID.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.invoiceId: The ID of the invoice to retrieveExample using environment variable API key:
{
"name": "retrieveInvoice",
"arguments": {
"invoiceId": "in_1234567890"
}
}
Example with explicit API key:
{
"name": "retrieveInvoice",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"invoiceId": "in_1234567890"
}
}
Response:
{
"id": "in_1234567890",
"object": "invoice",
"account_country": "US",
"account_name": "Your Company",
"amount_due": 10000,
"amount_paid": 10000,
"amount_remaining": 0,
"customer": "cus_123456",
"currency": "usd",
"status": "paid",
"total": 10000,
"subtotal": 9500,
"tax": 500,
"lines": {
"object": "list",
"data": [
{
"id": "il_1234567890",
"object": "line_item",
"amount": 9500,
"currency": "usd",
"description": "Premium Plan",
"quantity": 1,
"tax_amounts": [
{
"amount": 500,
"inclusive": false,
"tax_rate": "txr_1234567890"
}
]
}
],
"has_more": false,
"url": "/v1/invoices/in_1234567890/lines"
}
}
Retrieves line items for an invoice from Stripe.
Parameters:
apiKey (optional): Your Stripe API key. If not provided, the API key from the environment variable will be used.invoiceId: The ID of the invoice to retrieve line items forlimit (optional): Maximum number of line items to returnstarting_after (optional): Pagination cursor for continuing from a previous listending_before (optional): Pagination cursor for returning results before this IDExample using environment variable API key:
{
"name": "retrieveInvoiceLineItems",
"arguments": {
"invoiceId": "in_1234567890",
"limit": 10
}
}
Example with explicit API key:
{
"name": "retrieveInvoiceLineItems",
"arguments": {
"apiKey": "sk_test_your_stripe_key",
"invoiceId": "in_1234567890",
"limit": 10
}
}
Response:
{
"object": "list",
"url": "/v1/invoices/in_1234567890/lines",
"has_more": false,
"data": [
{
"id": "il_1234567890",
"object": "line_item",
"amount": 9500,
"currency": "usd",
"description": "Premium Plan",
"quantity": 1,
"tax_amounts": [
{
"amount": 500,
"inclusive": false,
"tax_rate": "txr_1234567890"
}
]
}
]
}
The server provides the following resources:
stripe-tax://info: General information about Stripe Taxstripe-tax://documentation: References to Stripe Tax documentation and Stripe Invoices documentationThe server offers the following prompts:
get-tax-settings: A prompt for retrieving tax settingsupdate-tax-settings: A prompt for updating tax settingsretrieve-tax-calculation: A prompt for retrieving a tax calculation by IDcreate-tax-calculation: A prompt for creating a new tax calculationlist-tax-calculation-line-items: A prompt for retrieving line items for a tax calculation by IDupdate-product-tax-code: A prompt for updating a product with a tax codeget-product-tax-code: A prompt for retrieving a product's tax codelist-invoices: A prompt for listing invoices with optional filtersretrieve-invoice: A prompt for retrieving a specific invoice by IDretrieve-invoice-line-items: A prompt for retrieving line items for a specific invoiceProblem: Getting "Authentication failed" errors when using the tools.
Solution:
Problem: API requests are being rejected with rate limit errors.
Solution:
Problem: The server rejects your tax settings update.
Solution:
Problem: "No API key provided" error message.
Solution:
.env file with your STRIPE_API_KEY setProblem: Unable to connect to the MCP server.
Solution:
claude_desktop_config.json is correct.env file for storing your API key.env to your .gitignore file to prevent accidentally committing your API keysClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Stripe Tax and Invoices MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/stripe-tax-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.