GnistAI GnistAI
Log in

Income Tax Rates

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

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 Finance

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

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/income-tax/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-income-tax": {
      "url": "https://context.gnist.ai/mcp/income-tax/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
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"}}}'

API REST API

API Root https://context.gnist.ai/rest/income-tax/

4 endpoints available:

Shell
curl "https://context.gnist.ai/rest/income-tax/get_tax_info?country_code=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/income-tax/get_tax_info",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "country_code": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc income-tax

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (4)

get_tax_info
Get income tax brackets and rates for a country.
ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
calculate_income_tax
Calculate progressive income tax for a given country and annual income.
ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO).
incomenumberrequiredGross annual income in the country's local currency.
list_tax_countries
List all countries with available income tax bracket data.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related