Algeria

io.github.syscliv0.1.0更新於 Oct 10, 2026

Algeria's 69 wilayas and 1541 communes, GPS lookups, and checks for Algerian formats.

概覽

AI 產生的概覽

讓助理查詢阿爾及利亞的省與市鎮、把 GPS 座標定位到市鎮,並檢核電話號碼、RIP 等阿爾及利亞格式。

功能
此伺服器以唯讀工具提供阿爾及利亞行政區資料:search_communes 可用法文或阿拉伯文名稱尋找市鎮,支援舊名、音譯與拼字錯誤;get_wilaya 依代碼或名稱回傳省及其市鎮;get_commune 依 ONS 代碼回傳市鎮,並給出 69、58、48 省制下的歸屬;wilaya_changes 列出 2026 或 2019 年改革中變更歸屬的市鎮;locate_point 回傳某個 GPS 點所在的市鎮與省;validate 檢核電話號碼、RIB、RIP、CCP、車牌、郵遞區號、NIN、NIF、NIS、RC、省與市鎮。
適用情境
適合助理需要回答阿爾及利亞行政區問題的情境,例如某地屬於哪一省、哪些市鎮在改革中變更省份、某個座標落在哪個市鎮,或某個阿爾及利亞識別碼格式是否正確。
執行需求
以 stdio 在本機執行,需要 Node.js 18 或更新版本;透過 npm 套件 @syscli/algeria-mcp 安裝,例如使用 npx。未宣告任何帳號、API 金鑰、環境變數或標頭,且不發出網路請求,因為資料隨套件提供。
安裝前請注意
所有工具皆為唯讀,不會寫入、傳送或刪除資料。locate_point 使用的邊界資料來自 OpenStreetMap(經 geoBoundaries,CC BY-SA 2.0),行政區資料來自官方公報;結果取決於該套件版本的資料與改革版本,而非即時官方紀錄。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Algeria,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

algeria-mcp

[npm] [CI]

An MCP server that lets AI assistants answer questions about Algeria's 69 wilayas and 1541 communes from the Journal officiel, and check Algerian formats such as phone numbers and RIP keys.

Ask your assistant things like:

  • Which wilaya is Bou Saada in since 2026?
  • Which communes moved to the wilaya of El Kantara?
  • Which commune is the point 36.365, 6.6147 in?
  • Is the RIP 007 99999 0000000200 91 well formed?

Setup

Also listed in the official MCP Registry as io.github.syscli/algeria-mcp.

Claude Code:

sh
claude mcp add algeria -- npx -y @syscli/algeria-mcp

Claude Desktop, Cursor and other clients, in their MCP configuration file:

json
{  "mcpServers": {    "algeria": {      "command": "npx",      "args": ["-y", "@syscli/algeria-mcp"]    }  }}

It runs locally over stdio, needs Node.js 18 or later, and makes no network calls: all the data ships with the package.

Tools

tool
search_communesfind communes by name in French or Arabic, with old names, transliterations and typos
get_wilayaa wilaya by code or name, with its communes
get_communea commune by ONS code, with its wilaya under the 69, 58 and 48 maps
wilaya_changescommunes moved by the 2026 or 2019 reform
locate_pointthe commune and wilaya of a GPS point
validatecheck a phone number, RIB, RIP, CCP, plate, postal code, NIN, NIF, NIS, RC, wilaya or commune

All tools are read-only.

Data

  • Wilayas and communes: @syscli/algeria, from the Journal officiel. MIT.
  • Boundaries used by locate_point: OpenStreetMap via geoBoundaries, CC BY-SA 2.0. (c) OpenStreetMap contributors.
  • Format rules: @syscli/dz-format, with the source of each rule.

Related projects

projectwhatget it
algeriathe 69 wilayas and 1541 communes, search, GPS lookupsnpm @syscli/algeria, PyPI syscli-algeria, site AlgerieGeo
dz-formatchecks for phone numbers, RIP and RIB keys, plates, NIF, RC and morenpm @syscli/dz-format, PyPI dz-format, playground
algeria-mcpboth of the above for AI assistantsnpm @syscli/algeria-mcp, MCP Registry io.github.syscli/algeria-mcp

Releases and security

Versions are listed in CHANGELOG.md. Releases are published from GitHub Actions with npm provenance; npm audit signatures checks them. To report a security problem, see SECURITY.md.

License

MIT

來源:README.md,提交 b981cb7

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0最新Oct 10, 2026