Exchange rates, inflation and central-bank gold prices for 28 African countries.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer ar_... key from afrirate.statotec.com/pricing; the free plan works
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Re-read every rate on a watchlist and report, for each: whether its condition now holds, how far it has moved since the watch was set, and how far since the previous check — which may have been in an earlier conversation. Also says when a source has published nothing new since the last check, so a quiet source is not mistaken for a steady rate. Call it at the start of a conversation when the user has a watchlist id.
Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http afrirate-mcp https://mcp.afrirate.statotec.com/mcp
Headers
Authorization (optional, not in the config above): Bearer ar_... key from afrirate.statotec.com/pricing; the free plan worksRe-read every rate on a watchlist and report, for each: whether its condition now holds, how far it has moved since the watch was set, and how far since the previous check — which may have been in an earlier conversation. Also says when a source has published nothing new since the last check, so a quiet source is not mistaken for a steady rate. Call it at the start of a conversation when the user has a watchlist id.
| Argument | Type | Description |
|---|---|---|
| watchlist* | string | Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"watchlist"
],
"properties": {
"watchlist": {
"type": "string",
"description": "Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access."
}
}
}Compare the same currency pair across every source that publishes it, and optionally across several countries at once, then report the best and worst quote and the spread between them. This is what 28-country coverage is actually for: answering "where is this corridor cheapest" in one call instead of twenty. Most pairs are published by a single central bank, in which case this says so rather than reporting a spread of zero. Naming countries costs one upstream request each against a 10-per-minute budget; omitting them costs two in total.
| Argument | Type | Description |
|---|---|---|
| base* | string | Base currency, e.g. USD |
| quote* | string | Quote currency, e.g. KES |
| countries | array | Restrict to these countries’ sources. Omit to compare every source publishing the pair. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"base",
"quote"
],
"properties": {
"base": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Base currency, e.g. USD"
},
"quote": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Quote currency, e.g. KES"
},
"countries": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2,
"minLength": 2
},
"maxItems": 10,
"description": "Restrict to these countries’ sources. Omit to compare every source publishing the pair."
}
}
}Convert an amount between two currencies using published African rates. Tries the direct pair, then the inverse, then a cross through USD, and tells you which path it used and which source it trusted. No AfriRate endpoint does this — it is computed here. Passing `country` when you know it costs one upstream request instead of up to six, which matters against a 10-per-minute budget.
| Argument | Type | Description |
|---|---|---|
| to* | string | Currency to convert to, e.g. ZWG |
| from* | string | Currency to convert from, e.g. USD |
| amount* | number | Amount to convert |
| source | string | Restrict to one source by its code as get_rate shows it, e.g. rbz or cbk. Usually leave this out. |
| country | string | Restrict to sources from this country, e.g. ZW for the RBZ official rate |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Currency to convert to, e.g. ZWG"
},
"from": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Currency to convert from, e.g. USD"
},
"amount": {
"type": "number",
"description": "Amount to convert",
"exclusiveMinimum": 0
},
"source": {
"type": "string",
"description": "Restrict to one source by its code as get_rate shows it, e.g. rbz or cbk. Usually leave this out."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Restrict to sources from this country, e.g. ZW for the RBZ official rate"
}
}
}Latest central-bank gold-coin prices for a country — Zimbabwe’s Mosi-oa-Tunya coin is the main series. Useful as a store-of-value reference where the local currency is unstable.
| Argument | Type | Description |
|---|---|---|
| country* | string | ISO 3166-1 alpha-2 country code, e.g. ZW |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country"
],
"properties": {
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code, e.g. ZW"
}
}
}Latest published inflation for a country: month-on-month, year-on-year and the CPI index, split into food and non-food where the statistics agency publishes it. Zimbabwe publishes separate USD and ZWG series, which arrive as separate rows distinguished by `denomination`.
| Argument | Type | Description |
|---|---|---|
| country* | string | ISO 3166-1 alpha-2 country code, e.g. ZW |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country"
],
"properties": {
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code, e.g. ZW"
}
}
}Latest exchange rates, either every pair for one country (country="ZW") or one pair across every source that publishes it (base="USD", quote="KES"). Each row carries a `stale` flag — when it is true the source has been failing and the value is the last one published, so say so when you quote it.
| Argument | Type | Description |
|---|---|---|
| base | string | Base currency code, e.g. USD |
| quote | string | Quote currency code, e.g. ZWG |
| country | string | ISO 3166-1 alpha-2 country code, e.g. ZW |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"base": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Base currency code, e.g. USD"
},
"quote": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Quote currency code, e.g. ZWG"
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code, e.g. ZW"
}
}
}List every African country AfriRate covers, with its ISO code and how many rate sources feed it. Call this first when the user names a country in prose and you need its code.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}List every currency AfriRate quotes, with its symbol and decimal precision.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Remove one watch from a watchlist by its id (w1, w2, …), or every watch with id "all".
| Argument | Type | Description |
|---|---|---|
| watch_id* | string | The watch to remove, e.g. w2, or "all" |
| watchlist* | string | Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"watchlist",
"watch_id"
],
"properties": {
"watch_id": {
"type": "string",
"description": "The watch to remove, e.g. w2, or \"all\""
},
"watchlist": {
"type": "string",
"description": "Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access."
}
}
}Remember a rate the user cares about and a condition on it — above a level, below a level, or a move of some percent — so a later conversation can ask what changed. Returns a watchlist id: give it to the user and keep it, because check_watches needs it and it is the only key to the list. Pass an existing `watchlist` to add to it; omit it to start a new one. The rate is resolved the same way as convert (direct, inverse, cross through USD). There is no push notification: a watch fires when check_watches is called and finds the condition holds. To set several watches, set one first and pass its watchlist id to the rest: calls made in parallel without an id each start a separate list.
| Argument | Type | Description |
|---|---|---|
| to* | string | Quote currency, e.g. ZWG |
| from* | string | Base currency, e.g. USD |
| value* | number | The level (for above/below) or the percent (for moves_pct) |
| country | string | Only use sources from this country, e.g. ZW |
| condition* | string | above: fire when the rate rises above value. below: when it falls below value. moves_pct: when it moves at least value percent either way from today. |
| watchlist | string | Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access. |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"condition",
"value"
],
"properties": {
"to": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Quote currency, e.g. ZWG"
},
"from": {
"type": "string",
"maxLength": 3,
"minLength": 3,
"description": "Base currency, e.g. USD"
},
"value": {
"type": "number",
"description": "The level (for above/below) or the percent (for moves_pct)",
"exclusiveMinimum": 0
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Only use sources from this country, e.g. ZW"
},
"condition": {
"enum": [
"above",
"below",
"moves_pct"
],
"type": "string",
"description": "above: fire when the rate rises above value. below: when it falls below value. moves_pct: when it moves at least value percent either way from today."
},
"watchlist": {
"type": "string",
"description": "Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access."
}
}
}