Nigeria GRID3 Boundaries MCP by Wycord

io.github.wycord由 GitHub 账号 wycord 发布v0.3.0更新于 Oct 29, 2026

Nigerian admin boundaries (state/LGA/ward): centroid, bbox, reverse-geocode. A Wycord product.

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

查询尼日利亚州、地方政府区和选区边界,并将坐标反查为所属行政区,返回中心点、边界框和署名信息。

可以做什么
  • 按层级和名称查询尼日利亚行政区边界,返回中心点、边界框和署名信息,而非完整多边形
  • 将 WGS84 经纬度点解析为所属的州、地方政府区以及(如有测绘的)选区
  • 作为其他尼日利亚数据查询可组合使用的地理基础能力
适用场景
当助手需要把尼日利亚地名或坐标归入正确的行政区时适用,例如标注地点、按州或地方政府区汇总数据,或在其他查询前校验坐标。
运行要求
以 stdio 方式在本地运行,通常通过 npx 启动,需要 Node.js 20 或更高版本。无需账号或 API 密钥,默认从 GRID3 获取实时数据。除非将可选变量 BOUNDARY_PROVIDER 设为 mock 使用内置示例数据,否则需要访问 GRID3 的 ArcGIS 主机。
安装前请注意
将 BOUNDARY_PROVIDER 设为 mock 后,所有结果都是标注为模拟的示例数据,不应被当作真实边界。返回的是中心点和边界框而非完整多边形,不适合精确制图或面积计算。边界数据来自第三方 GRID3,采用 CC BY 4.0 许可并带有署名要求。该服务器为只读,不索取任何凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Nigeria GRID3 Boundaries MCP by Wycord,将其添加到工作区。
  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

工具

2

get_boundary

Get Nigerian admin boundary

Look up a Nigerian administrative boundary (state, LGA or ward) by name. Returns the centroid, bounding box and attribution — not the full polygon. Example: { level: 'state', name: 'Lagos' }. Data: GRID3, CC BY 4.0.

输入参数name必填level必填

point_in_admin

Reverse-geocode a point to admin areas

Resolve a WGS84 point to the Nigerian state, LGA and (where mapped) ward containing it — the reverse-geocode primitive other lookups compose on. Example: { lat: 6.43, lng: 3.42 }. Data: GRID3, CC BY 4.0.

输入参数lat必填lng必填

版本历史

1
  1. v0.3.0最新Oct 21, 2026

评分

已满足适用检查项的 90%

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

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分