原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Worldref

作者:arj-89版本 1.1.2i★ –i在你的电脑上运行
注册名称io.github.arj-89/worldref

安装

概览

作者提供的说明(英文原文)

Every country in Arabic and English: names, nationalities, dial codes, phone validation.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "worldref": {
      "command": "npx",
      "args": [
        "-y",
        "worldref",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add worldref -- npx -y worldref mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "worldref": {
      "command": "npx",
      "args": [
        "-y",
        "worldref",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "worldref": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "worldref",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 arj-89 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32497 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32497 个服务器的 93% 更新
  • 基础检查结果等于或优于此分类中其他 32497 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Worldref 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.2)于前天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Zoo MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Zoo MCP

作者:KittyCAD

An MCP server that provides access to the Zoo API for various CAD operations and tools.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

worldref

Every country in Arabic, English, or both: names, nationalities, capitals, currencies, languages, time zones, dial codes, phone validation, address formats and subdivisions. One dataset, ready for JSON, CSV, SQL, TypeScript, Python, Swift, Kotlin, Dart, PHP, Go and C#, and for AI agents (MCP).

العربية · Website and search demo · Best practices · Field reference · Data sources

import { countries, search, parsePhone, byIso2 } from "worldref";

byIso2("SA").name_ar; // "السعودية" byIso2("SA").nationality.nationality_ar_f; // "سعودية" search(countries, "الامارات", "ar")[0].iso2; // "AE" (ignores «ال», hamza and tashkeel) parsePhone("٠٥٠١٢٣٤٥٦٧", byIso2("SA")); // { e164: "+966501234567", valid: true, mobile: true, ... }

Why worldref

  • Arabic done natively. Short common names (السعودية, not a transliteration), nationality in masculine and feminine (سعودي / سعودية), search that ignores «ال», tashkeel, tatweel and hamza forms, Arabic-Indic and Persian digits accepted everywhere, and sort keys that give correct Arabic alphabetical order on every platform.
  • Works for one language or two. Every file comes in three builds: bilingual (name_ar, name_en), Arabic-only (name) and English-only (name).
  • Phone fields that work. Dial codes, valid lengths, mobile prefixes and exact validation patterns for every country, shared calling codes resolved (+1, +7, +44...), and international (E.164) output.
  • Everything a form or app needs in one place: official names, capitals, currencies with symbols (including the new Saudi riyal sign), official languages, week start and weekend, preferred calendars (including Umm al-Qura), postal code rules, address templates, emergency numbers, plug types and voltage, FIFA and IOC codes, and ISO 3166-2 subdivisions.
  • Sourced, not guessed. Official sources first (Unicode CLDR, Google libphonenumber, World Bank, IANA, ITU and government sources). Every column names its source in data/sources.json. A missing value is null, never a guess or a machine translation.

Install

Published on npm, PyPI, pub.dev, Packagist, NuGet and the MCP Registry. Swift, Kotlin and Go install straight from this repository.

StackInstall
JavaScript, TypeScript (web, Node 20.10+, React Native, Bun, Deno)npm i worldref
CDN (no build step)https://cdn.jsdelivr.net/npm/worldref@1.1.2/data/worldref.json
Swift (iOS, macOS)Swift Package Manager: https://github.com/arj-89/worldref, from 1.1.2, product WorldRef
Kotlin, AndroidJitPack: maven("https://jitpack.io"), then implementation("com.github.arj-89:worldref:v1.1.2")
Pythonpip install worldref
Dart, Flutterdart pub add worldref (Flutter: flutter pub add worldref)
PHP, Laravelcomposer require arj-89/worldref
Gogo get github.com/arj-89/worldref/go@v1.1.2
C#, .NETdotnet add package WorldRef
Any languageJSON, CSV and SQL (Postgres, MySQL, SQLite) in data/ and on the releases page
AI agentsMCP server: npx -y worldref mcp (listed in the MCP Registry as io.github.arj-89/worldref)
No installOne country: https://arj-89.github.io/worldref/api/v1/sa.json

Each language folder has its own README with a usage example: python, Swift, kotlin, dart, php, go, csharp.

Use only what you need

  • The data is split into modules that share the key iso2: core, nationality, phone, currency, geo, locale, address, travel, sports, plus subdivisions. Find them in data/modules/.
  • Each module comes in 3 builds: .json (Arabic and English), .ar.json (Arabic only), .en.json (English only).
  • JS/TS: import only the module you use, and your bundler ships only that file:
  import phone from "worldref/data/modules/phone.json" with { type: "json" };

import { parsePhone } from "worldref/helpers";

- **Other languages:** load only the module files you need. [`data/worldref.json`](data/worldref.json) has everything.
  • One country, no install: https://arj-89.github.io/worldref/api/v1/{iso2}.json.
  • A missing value is null (or an empty list). Treat it as unknown; never fill it in.
  • Within a major version, fields are never renamed or removed.

Recipes

Country picker (user's country first, then alphabetical in the UI language):

import { countries, sortCountries, search } from "worldref";

const list = sortCountries(countries, "ar", "SA"); // السعودية first, then Arabic order const hits = search(countries, userQuery, "ar"); // names, aliases, ISO codes, +966 / 00966 / 966

Show: flag, name in the UI language, then the dial code. In Arabic, isolate the dial code left-to-right (`<bdi dir="ltr">+966</bdi>`).

Phone field (store the international form plus the country the user picked):

const p = parsePhone(input, byIso2(pickedIso2), countries);

if (p?.valid && p.mobile) save({ phone: p.e164, phone_country: p.iso2 });

Nationality field (only rows that have one: countries, plus Taiwan, Hong Kong and Macau):

const options = countries.filter((c) => c.nationality.nationality_en);

const label = (c, female) => (female ? c.nationality.nationality_ar_f : c.nationality.nationality_ar_m);

Database seed: run data/sql/postgres.sql (or mysql.sql, sqlite.sql). It creates countries and subdivisions.

Best practices

Every rule below is built into the helpers of all eight packages and locked by the shared tests in tests/vectors.json. Use the helpers; if you write your own, follow these rules exactly.

Search (normalize(), search())

  • Normalise both sides, the query and the names, the same way.
  • Arabic: drop «ال» at the start of every word (not only the first); remove tashkeel (fatha, damma, kasra, sukun, shadda, tanween) and tatweel (ـ); treat أ إ آ ٱ as ا, ة as ه, ى as ي, ؤ as و, ئ as ي. So «الإمارات», «امارات» and «الأمارات» all find the UAE.
  • Latin: ignore case and accents, and treat punctuation as a space, so «cote d'ivoire» finds Côte d’Ivoire.
  • Digits: convert Arabic-Indic (٠١٢٣٤٥٦٧٨٩) and Persian (۰۱۲۳۴۵۶۷۸۹) digits to Western before anything else.
  • Match names and aliases in both languages, ISO codes (SA, SAU), and dial codes with or without «+» or «00» (+966, 00966, 966).

Sorting (sortCountries())

  • Put the user's country first: from their profile, else the device region, else pin nothing.
  • Then sort by sort_ar or sort_en with plain string comparison. Do not use locale collation (Intl.Collator("ar"), localizedStandardCompare): neither ignores «ال», so every «ال» name bunches under ا.

Display

  • Show the flag, then the name in the UI language, then the dial code.
  • In Arabic, isolate the dial code and any Latin text left-to-right in the UI ( +966 , or U+2066 ... U+2069). The data never contains bidi marks.
  • Show Western numerals (0-9) in the UI, in both languages.
  • Use flag_svg on the web: Windows does not draw flag emoji.
  • Currency: show symbol (the Saudi riyal sign is U+20C1) and fall back to symbol_fallback (ر.س) where the font lacks the new sign.

Phone fields (parsePhone(), formatNational())

  • Accept whatever the user types: Arabic or Western digits, spaces, dashes, a leading 0, «+» or «00».
  • Store the international form (e164) together with the iso2 the user picked. Shared calling codes (+1, +7, +44, +599...) cannot be read back to one country from the number alone.
  • Validate a mobile with mobile_pattern. Where mobile_distinguishable is false (US, Canada), do not reject a number for not looking like a mobile.
  • Format for display with formatNational() (5X XXX XXXX style).

Nationality fields

  • List only rows where nationality.nationality_en is not null (countries, plus Taiwan, Hong Kong and Macau).
  • In Arabic, use the form that matches the person: nationality_ar_m (سعودي) or nationality_ar_f (سعودية).

Data

  • null (or an empty list) means unknown. Show it as unknown; never fill it from elsewhere.
  • Load only the modules you need; they join on iso2.
  • Pin a version (#v1.1.2, @1.1.2) so names and rules do not change under you.

Data policy

  • Israel is not in this dataset, in any file, under any name or code. A test enforces this on every output.
  • Palestine is «فلسطين» / "Palestine", a country, with its capital «القدس» / "Jerusalem". Numbers with +970 and +972 (including Jerusalem and the 1948 lines) are Palestinian numbers here. Its currencies are the Jordanian dinar and the shekel (shown as «شيكل» / "Shekel").
  • Disputed places follow the official positions of Saudi Arabia: Western Sahara is part of Morocco (no separate row), Kosovo is included, Northern Cyprus is not, and Taiwan, Hong Kong and Macau are territories that still have a nationality (they issue their own passports).
  • Requests to change this policy are closed without discussion. Corrections to data are welcome with a source link (see CONTRIBUTING).

Fields

Single-language builds drop the _ar / _en suffix (name_ar becomes name in .ar.json).

FieldModuleExample (SA)Meaning
iso2allSAISO 3166-1 alpha-2 code (XK for Kosovo). The key that joins every module.
iso3coreSAUISO 3166-1 alpha-3 code (XKK for Kosovo, as in CLDR).
iso_numericcore682ISO 3166-1 numeric code, as text to keep leading zeros.
kindcorecountrycountry (sovereign state, including Palestine, Vatican and Kosovo) or territory.
name_arcoreالسعوديةShort common name in Arabic.
name_encoreSaudi ArabiaShort common name in English.
official_name_arcoreالمملكة العربية السعوديةOfficial long name in Arabic, when a source states one.
official_name_encoreKingdom of Saudi ArabiaOfficial long name in English, when a source states one.
aliases_arcore["المملكة العربية السعودية","المملكة"...Other Arabic names people search with. For search only, not display.
aliases_encore["KSA","Kingdom of Saudi Arabia","Sau...Other English names people search with. For search only, not display.
flagcore🇸🇦Flag emoji (regional indicator pair). Windows does not draw these; use flag_svg on the web.
flag_svgcoreflags/sa.svgPath of the 4:3 SVG flag in this package.

| continent | core | asia | africa, americas, asia, europe or o

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx