Finance
Data source: Curated dataset (ISO 9362, public records)
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/swift-bic/
claude_desktop_config.json
{
"mcpServers": {
"gnist-swift-bic": {
"url": "https://context.gnist.ai/mcp/swift-bic/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/swift-bic/" \
-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": "lookup_swift_code", "arguments": {"swift_code": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/swift-bic/
4 endpoints available:
GET /rest/swift-bic/lookup_swift_codeGET /rest/swift-bic/search_swift_banksGET /rest/swift-bic/list_banks_by_countryGET /rest/swift-bic/report_feedback
Shell
curl "https://context.gnist.ai/rest/swift-bic/lookup_swift_code?swift_code=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/swift-bic/lookup_swift_code",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"swift_code": "example"
},
)
print(resp.json())
Command Line
Command
gc swift-bic
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
lookup_swift_codeLook up a bank by its SWIFT/BIC code.
| Parameter | Type | Required | Description |
|---|---|---|---|
swift_code | string | required | 8 or 11 character SWIFT/BIC code (e.g. CHASUS33, DEUTDEFF). |
search_swift_banksSearch the SWIFT/BIC code database.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search by bank name, city, or SWIFT code. |
limit | integer | optional | Maximum results to return. (default: 20) |
list_banks_by_countryList banks by country code from the SWIFT/BIC database.
| Parameter | Type | Required | Description |
|---|---|---|---|
country_code | string | required | ISO 3166-1 alpha-2 country code (e.g. US, GB, DE, JP). |
limit | integer | optional | Maximum results to return. (default: 50) |
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") |