Finance
Data source: Curated dataset (government tax authorities, 2024 rates)
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/income-tax/
4 endpoints available:
GET /rest/income-tax/get_tax_infoGET /rest/income-tax/calculate_income_taxGET /rest/income-tax/list_tax_countriesGET /rest/income-tax/report_feedback
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())
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_infoGet income tax brackets and rates for a country.
| Parameter | Type | Required | Description |
|---|---|---|---|
country_code | string | required | ISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO). |
calculate_income_taxCalculate progressive income tax for a given country and annual income.
| Parameter | Type | Required | Description |
|---|---|---|---|
country_code | string | required | ISO 3166-1 alpha-2 country code (e.g. US, GB, DE, NO). |
income | number | required | Gross annual income in the country's local currency. |
list_tax_countriesList all countries with available income tax bracket data.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |