Nigeria Fx Rates

io.github.Braynexservices由 GitHub 账号 Braynexservices 发布v0.2.6更新于 Oct 24, 2026

Live Naira (NGN) exchange rates vs USD/EUR/GBP — keyless, free, cached ~1h. Mock default offline.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

提供奈拉兑美元、欧元和英镑的实时汇率,并支持离线模拟模式用于测试。

可以做什么
通过 get_fx_rates 工具返回尼日利亚奈拉兑美元、欧元和英镑的汇率。实时数据来自无需密钥的公开汇率接口,并缓存约一小时。通过提供方选择器可切换到离线固定数据,无需网络即可返回结果。
适用场景
适合助手需要当前或近期奈拉汇率用于定价、开票、出行或金融问题的场景。也适合离线或测试环境,希望使用确定性的示例汇率而非实时数据时。
运行要求
作为本地 Node.js 进程运行,通过 npm 包 @braynexservices/nigeria-mcp-fx-rates 安装,需要 Node.js 20 或更高版本。无需账号或 API 密钥。获取实时汇率需要网络访问。可选环境变量 FX_PROVIDER 用于选择提供方:mock 表示离线固定数据,free 表示实时无密钥数据。
安装前请注意
将 FX_PROVIDER 设为 mock 时,服务器返回的是示例汇率而非真实市场数据,不应被视为实际汇率。实时汇率缓存约一小时,可能滞后于市场。该服务器仅限桌面端且为只读,不执行换算或交易。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Nigeria Fx Rates,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Nigeria MCP — Nigerian data for AI agents

A Wycord product, built by Braynex Services Ltd. Author: Samuel Orie. License: MIT.

Clean, normalized Nigerian business & local data exposed to AI agents (Claude, Cursor, custom agents) as MCP tools — one server per data source, each behind a typed provider seam.

Status: 12 servers LIVE on npm and on the official MCP Registry. Every server returns live data by default — no env var to set. 10 are keyless; Bank Resolve and Electricity Meter use live data once their free key is set. Without a key they serve built-in sample data, and every such result is labelled [MOCK DATA] so it cannot be mistaken for a real figure. (admin-divisions runs fully offline on a bundled dataset — it has no live data source.)


Products

ServernpmToolsLive sourceKey?
Trade Intel@wycord/nigeria-mcp-trade-intelget_trade_stats · classify_hsUN Comtradenone
FX Rates@wycord/nigeria-mcp-fx-ratesget_fx_ratesopen.er-api.comnone
Bank Resolve@wycord/nigeria-mcp-bank-accountresolve_bank_account · list_banksPaystackfree key
Electricity Meter@wycord/nigeria-mcp-electricityvalidate_meter · list_discosVTpass (read-only)free key
Admin Boundaries@wycord/nigeria-mcp-grid3-boundariesget_boundary · point_in_adminGRID3 ArcGIS (CC BY 4.0)none
Admin Divisions@wycord/nigeria-mcp-admin-divisionslist_states · get_lgasBundled dataset (offline)none
Health Facilities@wycord/nigeria-mcp-health-facilityfind_facilities_near · get_facilityGRID3 NGA Health Facilities v2.0 (CC BY 4.0)none
World Bank Macro@wycord/nigeria-mcp-worldbank-macroget_macro_indicatorWorld Bank Indicators APInone
IMF WEO@wycord/nigeria-mcp-imf-weoget_imf_projectionIMF DataMapper APInone
UN SDG@wycord/nigeria-mcp-un-sdgget_sdg_indicatorUN SDG Global Databasenone
Crypto Tickers@wycord/nigeria-mcp-quidax-cryptoget_crypto_ticker · list_crypto_marketsQuidax (read-only)none
Sanctions Screening@wycord/nigeria-mcp-nigsac-sanctionsscreen_sanctionsNIGSAC registernone
  • Trade Intel — Nigeria import/export statistics by partner, commodity and year, annual or monthly, with USD value (plus CIF/FOB), net weight and quantity, and commodity breakdowns. Plus HS-code classification.
  • FX Rates — live Naira rates against USD, EUR and GBP.
  • Bank Resolve — resolve a 10-digit NUBAN + bank code to the registered account name; list banks with their codes.
  • Electricity Meter — read-only meter validation (customer name/address + DisCo) and the DisCo list. No payments.
  • Admin Boundaries — Nigeria admin boundaries (state / LGA / ward): centroid, bounding box, and reverse-geocode a lat/lng point to the admin unit that contains it. GRID3 ArcGIS, keyless.
  • Admin Divisions — Nigeria's 36 states + FCT and all 774 LGAs. Runs fully offline on a bundled dataset — no network, no key.
  • Health Facilities — find Nigerian health facilities near a point, sorted by distance, with details for a single facility. GRID3 NGA Health Facilities v2.0, keyless.
  • World Bank Macro — Nigerian macro indicators (GDP, inflation, population, remittances, FDI, unemployment) from the World Bank Indicators API. Keyless.
  • IMF WEO — IMF World Economic Outlook projections for Nigeria (growth, inflation, debt, current account, unemployment) from the IMF DataMapper API. Keyless.
  • UN SDG — Nigeria UN SDG indicators (poverty, under-5 mortality, electricity & water access, primary completion) from the UN SDG Global Database. Keyless.
  • Crypto Tickers — live crypto tickers in Naira (BTC/NGN etc.), read-only, plus the tradable market list. Quidax public API, keyless.
  • Sanctions Screening — screen a name against Nigeria's official NIGSAC sanctions register. A best-effort fuzzy screening signal for human review — not a legal/compliance determination, and it covers the Nigerian list only. Keyless.

Each server's README has full tool docs, examples and a copy-paste config: see lanes/<server>/README.md. Real-world applications: USE_CASES.md.

Install

One click (Claude Desktop)

Download a bundle from the latest release and double-click it. No terminal, no clone — the bundle carries everything it needs, and the keyed servers prompt you for the free API key during install (leave it blank and they serve labelled sample data).

Or via npx (any MCP client)

No clone needed (Node.js ≥ 20). Add to your MCP config:

jsonc
{  "mcpServers": {    "nigeria-trade-intel": {      "command": "npx",      "args": ["-y", "@wycord/nigeria-mcp-trade-intel"]   // live data, no key, no env    },    "nigeria-fx-rates": {      "command": "npx",      "args": ["-y", "@wycord/nigeria-mcp-fx-rates"]      // live data, no key, no env    }  }}

Then ask: "What were Nigeria's top crude-oil export partners in 2023?" or "What's the dollar to naira rate right now?"

The keyed servers take their credentials the same way — see lanes/bank-account/README.md (free Paystack key) and lanes/electricity/README.md (free VTpass keys). Without a key these two servers serve built-in sample data, and every result then starts with a [MOCK DATA: ...] text block and carries _meta.dataSource = "mock". To force sample data on any server (for tests or offline work), set its provider variable to mock, for example FX_PROVIDER=mock.

Configuration

No .env file is read. Set a variable in your MCP client's env block (or the shell) only when you need to change a default. Every server works with none of them set; the two keyed servers then serve labelled sample data.

VariableServerDefaultWhat it does
FX_PROVIDERFX Ratesfreefree = live; mock = labelled sample data
TRADE_PROVIDERTrade Intelopendataopendata = live UN Comtrade; mock = labelled sample data
BOUNDARY_PROVIDERAdmin Boundariesgrid3grid3 = live; mock = labelled sample data
HEALTH_PROVIDERHealth Facilitiesgrid3grid3 = live; mock = labelled sample data
MACRO_PROVIDERWorld Bank Macroworldbankworldbank = live; mock = labelled sample data
IMF_PROVIDERIMF WEOimfimf = live; mock = labelled sample data
SDG_PROVIDERUN SDGunsdgunsdg = live; mock = labelled sample data
CRYPTO_PROVIDERCrypto Tickersquidaxquidax = live; mock = labelled sample data
SANCTIONS_PROVIDERSanctions Screeningnigsacnigsac = live register; mock = labelled synthetic stub
ADMIN_DIVISIONS_PROVIDERAdmin DivisionsstaticThe only value. Bundled dataset, no network
BANK_PROVIDERBank Resolvepaystack if the key is set, else mockmock forces labelled sample data
PAYSTACK_SECRET_KEYBank ResolveunsetPaystack secret key (free). Enables live data
ELECTRICITY_PROVIDERElectricity Metervtpass if all three keys are set, else mockmock forces labelled sample data
VTPASS_API_KEY, VTPASS_PUBLIC_KEY, VTPASS_SECRET_KEYElectricity MeterunsetVTpass keys (free). All three enable live data
VTPASS_BASE_URLElectricity Meterhttps://sandbox.vtpass.com/apihttps://vtpass.com/api for production
GRID3_STATE_URL, GRID3_LGA_URL, GRID3_WARD_URLAdmin BoundariesGRID3 layersOverride a layer URL
GRID3_HEALTH_URLHealth FacilitiesGRID3 layerOverride the layer query URL
UN_SDG_BASE_URLUN SDGhttps://unstats.un.org/sdgapiOverride the API base URL
NIGSAC_LIST_URLSanctions Screeninghttps://nigsac.gov.ng/IndSancListOverride the list URL

Mock results are never silent: every tool result starts with a [MOCK DATA: ...] text block and carries _meta.dataSource = "mock", and the server prints a warning on stderr at start.

Outbound hosts. Every request goes over https to a host the server declares. A URL override (the *_URL variables) that points at any other host is refused before a request is made.

ServerHosts
FX Ratesopen.er-api.com
Trade Intelcomtradeapi.un.org
Bank Resolveapi.paystack.co
Electricity Metervtpass.com, sandbox.vtpass.com
Admin Boundaries, Health Facilitiesservices3.arcgis.com
World Bank Macroapi.worldbank.org
IMF WEOwww.imf.org
UN SDGunstats.un.org
Crypto Tickersapp.quidax.io
Sanctions Screeningnigsac.gov.ng
Admin Divisionsnone (offline)

Find it on

Build from source

bash
npm installnpm run build      # core first, then each server (npm workspaces)npm run verify     # build + smokes + cross-server eval — runs on the mock providers, so no network and no signup

How it works

PathWhat it is
shared/Core library — buildServer, normalized Zod schemas, the typed provider seam, fetchJson (timeout + jittered retry), cache + error helpers.
lanes/<server>/One MCP server per data source — the live adapter (the default over npx), an opt-in mock provider, tools, and smoke/live tests.
eval/Cross-server eval harness (npm run eval).

Tools never call a provider directly: they depend on a typed interface, so selecting a provider is one env var and adding one is one file. Every request identifies itself with the User-Agent wycord-nigeria-mcp/<version> (+https://wycord.com), and each server reports its real package version in serverInfo. Identity data (account names, meter customer details) is pass-through only — never cached, never logged; API keys travel in headers, never in URLs.

Security

Report vulnerabilities privately — see SECURITY.md. Do not open a public issue.


© 2026 Braynex Services Ltd — MIT licensed (see LICENSE + NOTICE). "Braynex Services Ltd" and the product names are trademarks of Braynex Services Ltd.

来源:README.md,提交 cf4d5dd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分