GnistAI GnistAI
Log in

Income Tax Rates

Income tax rates and calculator — progressive brackets for 15 countries, with tax computation.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: calculator type type calculator calculator lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Curated dataset (government tax authorities, 2024 rates)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/income-tax/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_tax_info

Get income tax brackets and rates for a country.

Returns tax brackets, standard deduction, currency, tax year, and notes about the tax system.

ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_tax_info",
    "arguments": {
      "country_code": "NO"
    }
  }
}
calculate_income_tax

Calculate progressive income tax for a given country and annual income.

Returns total tax, effective rate, marginal rate, and a per-bracket breakdown showing
how much income falls in each bracket and how much tax is owed per bracket.

ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
incomenumberrequiredGross annual income in the country's local currency.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "calculate_income_tax",
    "arguments": {
      "country_code": "NO",
      "income": 1.0
    }
  }
}
list_tax_countries

List all countries with available income tax bracket data.

Returns country codes, names, and currencies for all supported countries.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_tax_countries",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/income-tax/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_tax_info", "arguments": {"country_code": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/income-tax/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_tax_info",
    "arguments": {
      "country_code": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources