Finance
Data source: BIS SDMX REST API
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/bis/
claude_desktop_config.json
{
"mcpServers": {
"gnist-bis": {
"url": "https://context.gnist.ai/mcp/bis/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/bis/" \
-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": "search_datasets", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/bis/
6 endpoints available:
GET /rest/bis/search_datasetsGET /rest/bis/list_datasetsGET /rest/bis/get_dataset_structureGET /rest/bis/get_dataGET /rest/bis/compare_countriesGET /rest/bis/report_feedback
Shell
curl "https://context.gnist.ai/rest/bis/search_datasets?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/bis/search_datasets",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc bis
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (6)
search_datasetsSearch the BIS dataset catalog by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search term for BIS datasets (e.g. "credit", "exchange rates", "property prices", "banking", "derivatives"). |
limit | integer | optional | Number of results to return (1-50, default 20). (default: 20) |
list_datasetsList available BIS datasets, optionally filtered by topic.
| Parameter | Type | Required | Description |
|---|---|---|---|
topic | any | optional | Optional topic filter (e.g. "banking", "credit", "exchange", "derivatives"). Omit to list all. |
limit | integer | optional | Maximum datasets to return (1-100, default 50). (default: 50) |
get_dataset_structureGet the dimension structure of a BIS dataset.
| Parameter | Type | Required | Description |
|---|---|---|---|
dataflow | string | required | BIS dataflow identifier from search_datasets (e.g. "WS_CBPOL", "WS_SPP", "WS_CREDIT_GAP"). |
get_dataFetch data from a BIS dataset.
| Parameter | Type | Required | Description |
|---|---|---|---|
dataflow | string | required | BIS dataflow identifier (e.g. "WS_CBPOL", "WS_SPP"). Use search_datasets to find IDs. |
countries | any | optional | ISO alpha-2 country codes (e.g. ["US", "DE", "NO"]). Omit for all countries. |
start_period | any | optional | Start period (e.g. "2015", "2020-Q1", "2020-01"). |
end_period | any | optional | End period (e.g. "2023", "2023-Q4", "2023-12"). |
dimension_filter | any | optional | Advanced: SDMX dimension key filter (dot-separated, e.g. "M.US+DE"). Overrides countries param. Use get_dataset_structure to find valid dimension values. |
limit | integer | optional | Maximum observations to return (1-1000, default 200). (default: 200) |
compare_countriesCompare data across countries for a given BIS dataset.
| Parameter | Type | Required | Description |
|---|---|---|---|
dataflow | string | required | BIS dataflow identifier (e.g. "WS_CBPOL", "WS_SPP"). |
country_codes | list[string] | required | ISO alpha-2 country codes to compare (e.g. ["US", "DE", "JP", "NO"]). Maximum 20. |
start_period | any | optional | Start period (e.g. "2020"). Omit for most recent data. |
end_period | any | optional | End period (e.g. "2023"). Omit for most recent 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") |