Finance
Data source: Frankfurter API (ECB)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/currency-conversion/
claude_desktop_config.json
{
"mcpServers": {
"gnist-currency-conversion": {
"url": "https://context.gnist.ai/mcp/currency-conversion/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/currency-conversion/" \
-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": "convert_currency", "arguments": {"amount": 1.0, "base": "example", "target": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/currency-conversion/
4 endpoints available:
GET /rest/currency-conversion/convert_currencyGET /rest/currency-conversion/get_exchange_ratesGET /rest/currency-conversion/list_currenciesGET /rest/currency-conversion/report_feedback
Shell
curl "https://context.gnist.ai/rest/currency-conversion/convert_currency?amount=1.0&base=example&target=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/currency-conversion/convert_currency",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"amount": 1.0,
"base": "example",
"target": "example"
},
)
print(resp.json())
Command Line
Command
gc currency-conversion
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
convert_currencyConvert an amount from one currency to another using real-time or historical rates.
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | required | |
base | string | required | |
target | string | required | |
date | any | optional |
get_exchange_ratesGet all exchange rates for a base currency.
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | optional | (default: "EUR") |
date | any | optional |
list_currenciesList all supported currency codes for conversion.
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") |