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

PH Schools MCP Server

作者:darwinphi版本 1.0.3i★ –i在你的电脑上运行
注册名称io.github.darwinphi/ph-schools

安装

概览

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

Local stdio MCP server for searching and analyzing the Philippine schools masterlist dataset.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: PH_SCHOOLS_DATA_PATH, PH_SCHOOLS_DATA_URL, PH_SCHOOLS_DATA_TAG

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "ph-schools": {
      "command": "npx",
      "args": [
        "-y",
        "@darwinphi/ph-schools-mcp-server"
      ],
      "env": {
        "PH_SCHOOLS_DATA_PATH": "your-value",
        "PH_SCHOOLS_DATA_URL": "your-value",
        "PH_SCHOOLS_DATA_TAG": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ph-schools --env PH_SCHOOLS_DATA_PATH=your-value --env PH_SCHOOLS_DATA_URL=your-value --env PH_SCHOOLS_DATA_TAG=your-value -- npx -y @darwinphi/ph-schools-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "ph-schools": {
      "command": "npx",
      "args": [
        "-y",
        "@darwinphi/ph-schools-mcp-server"
      ],
      "env": {
        "PH_SCHOOLS_DATA_PATH": "your-value",
        "PH_SCHOOLS_DATA_URL": "your-value",
        "PH_SCHOOLS_DATA_TAG": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "ph-schools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@darwinphi/ph-schools-mcp-server"
      ],
      "env": {
        "PH_SCHOOLS_DATA_PATH": "your-value",
        "PH_SCHOOLS_DATA_URL": "your-value",
        "PH_SCHOOLS_DATA_TAG": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • PH_SCHOOLS_DATA_PATH env
    Absolute path to a local schools dataset JSON file.
  • PH_SCHOOLS_DATA_URL env
    Optional source URL used by sync-data.
  • PH_SCHOOLS_DATA_TAG env
    Optional canonical dataset tag used by sync-data when URL is not provided.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“数据库与数据集”中的其他服务器比较i

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

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

常见问题

PH Schools MCP Server 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.3)于7个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

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

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

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0今天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.0前天更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

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

PH Schools MCP Server

Local stdio MCP server for querying and analyzing the Philippine schools masterlist dataset.

What This Server Provides

Tools:

  1. search_schools
  2. get_school_by_beis_id
  3. list_regions
  4. list_divisions
  5. dataset_stats

Install and Run

npm install

npm start

Use npm start only when running from this repo manually.

Which Setup to Use

  • VS Code MCP (.vscode/mcp.json): enough for normal usage. If status is Running, VS Code already started the server.
  • Claude Desktop (claude_desktop_config.json): enough for normal usage. Restart Claude after config changes.
  • npx -y @darwinphi/ph-schools-mcp-server ...: one-off CLI usage without cloning repo.
  • npm install && npm start: local development/maintenance in this repository.

Usage Scenarios

  1. mcp.json configured, no manual npx: works for chat tool calls (dataset_stats, search_schools, etc.).
  2. Manual npx -y @darwinphi/ph-schools-mcp-server, no MCP client config: server process starts, but chat clients won't use it automatically.
  3. mcp.json configured plus manual npx start: usually unnecessary; let the MCP client manage start/stop.
  4. One-off commands without MCP chat: use npx ... --help or npx ... sync-data ....

Without MCP client config, automatic VS Code/Claude tool-calling will not work.

When to Use mcp.json

Use mcp.json for normal day-to-day MCP usage in VS Code (or equivalent client config in Claude Desktop).

Use it for:

  1. Automatic server startup and lifecycle management by the MCP client
  2. MCP tool usage directly from chat prompts (dataset_stats, search_schools, etc.)
  3. Team/project-level shared MCP setup in a workspace

If MCP status shows Running, the client already started the server; manual npm start or manual npx start is usually unnecessary.

When to Use npx

Use npx from a terminal when you need one-off CLI actions without cloning or developing this repo.

Use it for:

  1. Sanity check that the published package runs: npx -y @darwinphi/ph-schools-mcp-server --help
  2. Manual dataset download/update: npx -y @darwinphi/ph-schools-mcp-server sync-data --tag v1.0.1 --output "$HOME/.ph-schools/data.json"
  3. Manual debug startup outside client-managed MCP lifecycle: npx -y @darwinphi/ph-schools-mcp-server

Do not use npx start as a replacement for VS Code/Claude MCP config. In normal usage, let the MCP client manage server startup from its config.

When to Use npm install and npm start

Use these when working from this repository (developer/maintainer workflow), not for normal client usage.

Use them for:

  1. Local development while editing source files in this repo
  2. Running tests before commits/releases
  3. Debugging local unpublished changes

Typical local workflow:

npm install

npm test npm start

If your VS Code/Claude MCP config is already working, you usually do not need to run npm start manually.

CLI (published package)
# Start MCP server over stdio

npx -y @darwinphi/ph-schools-mcp-server

Sync canonical dataset once to a chosen path

npx -y @darwinphi/ph-schools-mcp-server sync-data --tag v1.0.1 --output "$HOME/.ph-schools/data.json"

Quick Verify
npx -y @darwinphi/ph-schools-mcp-server --help

npx -y @darwinphi/ph-schools-mcp-server sync-data --tag v1.0.1 --output "$HOME/.ph-schools/data.json"

Dataset Configuration

This server is hybrid by default:

  • If local dataset file exists, it uses that file immediately.
  • If local dataset file is missing, it auto-downloads from the canonical dataset URL and caches locally.

Default canonical URL (pinned tag v1.0.1):

https://raw.githubusercontent.com/darwinphi/ph-schools-dataset/v1.0.1/schools_masterlist_2020_2021.json

Runtime env vars:

  • PH_SCHOOLS_DATA_PATH: preferred local JSON file path (used directly if present; auto-synced to this path if missing)
  • PH_SCHOOLS_DATA_URL: override download URL for sync-data
  • PH_SCHOOLS_DATA_TAG: canonical tag for sync-data when URL is not provided

VS Code MCP Config (Copy/Paste)

Set .vscode/mcp.json:

{

"servers": { "phSchools": { "type": "stdio", "command": "npx", "args": ["-y", "@darwinphi/ph-schools-mcp-server"], "env": { "PH_SCHOOLS_DATA_PATH": "/Users/your-user/.ph-schools/data.json" } } } }

If PH_SCHOOLS_DATA_PATH file is missing, the server automatically downloads from canonical source and writes to that path.

Claude Desktop Config (Copy/Paste)

Update Claude config:

{

"mcpServers": { "ph-schools": { "command": "npx", "args": ["-y", "@darwinphi/ph-schools-mcp-server"], "env": { "PH_SCHOOLS_DATA_PATH": "/Users/your-user/.ph-schools/data.json" } } } }

Alternative if npx is unreliable in your shell: install globally and use "command": "ph-schools-mcp-server".

If PH_SCHOOLS_DATA_PATH file is missing, the server automatically downloads from canonical source and writes to that path.

Typical macOS config file:

~/Library/Application Support/Claude/claude_desktop_config.json

Test Commands

npm test

npm run test:package

Example Prompts

  • Run dataset_stats and summarize key insights.
  • List all divisions in Region I using list_divisions.
  • Search schools in region "Region I" and division "Ilocos Norte".
  • Get school by BEIS ID 100001 using get_school_by_beis_id.
  • Search schools with query "High School".

Publishing and Release Flow

One-time npm setup (Trusted Publishing):

  1. On npmjs.com, open package @darwinphi/ph-schools-mcp-server → Settings → Trusted publishers.
  2. Add GitHub Actions trusted publisher with:
  • Owner/User: darwinphi
  • Repository: ph-schools-mcp-server
  • Workflow filename: cd.yml
  1. Do not use NPM_TOKEN; release workflow uses OIDC (id-token: write).

Manual release flow (v1):

  1. Update pinned dataset tag in src/constants.js.
  2. Bump package version:
npm version patch   # or minor / major

What npm version patch does:

  • Updates package.json version (e.g., 1.0.1 -> 1.0.2)
  • Updates package-lock.json version fields
  • Creates a git commit
  • Creates a git tag (e.g., v1.0.2)
  1. Sync server.json version to match package.json.
  2. Run:
npm ci

npm test npm run test:package

  1. Push commit and tags:
git push

git push --tags

  1. Create GitHub Release notes from the tag:
gh release create v<new_version> --generate-notes --title "v<new_version>"

Example:

gh release create v1.0.2 --generate-notes --title "v1.0.2"
  1. Push commit and tags. Tag pushes (v*) automatically trigger CD Release workflow.
  2. Workflow publishes npm package, then publishes MCP Registry metadata.

For metadata-only updates, use workflow Publish MCP Registry Metadata.

License and Data Provenance

  • Code license: ISC (LICENSE).
  • Dataset source: darwinphi/ph-schools-dataset (canonical repository backed by gov.ph source data).
  • Use of dataset remains subject to source terms and applicable policies.
问 PopNx