Education Data MCP Server
教育数据MCP服务器
此存储库包含一个 MCP(模型上下文协议)服务器,用于访问城市研究所的教育数据 API。该服务器旨在与 Claude 配合使用,以便轻松访问教育数据。
存储库结构
education-data-package-r/:用于访问教育数据 API 的原始 R 包(仅供参考)src/:MCP 服务器源代码build/:已编译的 MCP 服务器
Related MCP server: Slate MCP Server
关于教育数据 API
城市研究所的教育数据 API可以访问广泛的教育数据,包括:
学校和学区入学数据
学院和大学数据
评估数据
财务数据
以及更多
API 按级别(学校、学区、学院)、来源(ccd、ipeds、crdc 等)和主题(招生、目录、财务等)进行组织。
特征
通过
get_education_data工具检索详细的教育数据通过
get_education_data_summary工具检索汇总的教育数据通过资源浏览可用端点
安装
克隆此存储库:
git clone https://github.com/yourusername/edu-data-mcp-server.git cd edu-data-mcp-server安装依赖项:
npm install构建服务器:
npm run build使服务器可用于 npx:
npm link
配置 MCP 服务器
要将此 MCP 服务器与 Claude 一起使用,您需要将其添加到您的 MCP 设置配置文件中。
适用于 Claude 桌面应用程序 (macOS)
编辑~/Library/Application Support/Claude/claude_desktop_config.json :
{
"mcpServers": {
"edu-data": {
"command": "npx",
"args": ["edu-data-mcp-server"],
"disabled": false,
"alwaysAllow": []
}
}
}VSCode 中的 Claude
编辑/home/codespace/.vscode-remote/data/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json :
{
"mcpServers": {
"edu-data": {
"command": "npx",
"args": ["edu-data-mcp-server"],
"disabled": false,
"alwaysAllow": []
}
}
}可用工具
获取教育数据
从 API 中检索详细的教育数据。
参数:
level(必需):要查询的 API 数据级别(例如,“学校”、“学区”、“大学”)source(必需):要查询的 API 数据源(例如,'ccd'、'ipeds'、'crdc')topic(必需):要查询的 API 数据主题(例如,“注册”、“目录”)subtopic(可选):分组参数列表(例如,['race','sex'])filters(可选):查询过滤器(例如,{year: 2008,grade: [9,10,11,12]})add_labels(可选):适用时添加变量标签(默认值:false)limit(可选):限制结果数量(默认值:100)
例子:
{
"level": "schools",
"source": "ccd",
"topic": "enrollment",
"subtopic": ["race", "sex"],
"filters": {
"year": 2008,
"grade": [9, 10, 11, 12]
},
"add_labels": true,
"limit": 50
}获取教育数据摘要
从 API 中检索汇总的教育数据。
参数:
level(必需):要查询的 API 数据级别source(必需):要查询的 API 数据源topic(必填):需要查询的API数据主题subtopic(可选):附加参数(仅适用于某些端点)stat(必需):要计算的汇总统计数据(例如,“总和”、“平均值”、“计数”、“中位数”)var(必需):需要汇总的变量by(必填):对结果进行分组的变量filters(可选):查询过滤器
例子:
{
"level": "schools",
"source": "ccd",
"topic": "enrollment",
"stat": "sum",
"var": "enrollment",
"by": ["fips"],
"filters": {
"fips": [6, 7, 8],
"year": [2004, 2005]
}
}可用资源
服务器提供浏览可用端点的资源:
edu-data://endpoints/{level}/{source}/{topic}:有关特定教育数据端点的信息
Claude 的示例用法
一旦 MCP 服务器配置完成,您就可以使用它与 Claude 访问教育数据:
Can you show me the enrollment data for high schools in California for 2020?然后,Claude 可以使用 MCP 服务器来检索和分析数据:
use_mcp_tool
server_name: edu-data
tool_name: get_education_data
arguments: {
"level": "schools",
"source": "ccd",
"topic": "enrollment",
"filters": {
"year": 2020,
"fips": 6,
"grade": [9, 10, 11, 12]
},
"limit": 10
}发展
直接运行服务器:
npm start要在开发期间以监视模式运行服务器:
npm run watch检查服务器的功能:
npm run inspector要使用 npx 运行服务器:
npx edu-data-mcp-server执照
麻省理工学院
Available Tools
2 toolsget_education_dataB
Retrieve education data from the Urban Institute's Education Data API
Inputs: level (required), source (required), topic (required), subtopic, +3 more.
get_education_data_summaryC
Retrieve aggregated education data from the Urban Institute's Education Data API
Inputs: level (required), source (required), topic (required), stat (required), +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have overlapping purposes that could easily cause confusion. Both retrieve education data from the same API, with 'get_education_data_summary' described as aggregated data, but the distinction between regular and aggregated data is not clearly defined in the descriptions. An agent might struggle to choose between them without more specific guidance on when to use each.
The tool names follow a perfectly consistent verb_noun pattern with 'get_education_data' and 'get_education_data_summary'. Both use snake_case and the same verb 'get', making them predictable and easy to parse. There are no deviations or mixed conventions in the naming.
With only 2 tools, this server feels too thin for its apparent scope of accessing an education data API. A typical data API server would benefit from more operations like filtering, searching, or accessing different endpoints, making this set under-scoped. The count is borderline minimal and may limit agent functionality.
The tool surface is severely incomplete for an education data API domain. There are obvious gaps: no tools for filtering data by parameters, accessing specific datasets, updating or managing data, or handling errors. This forces agents into dead ends and limits practical use to basic retrieval only.
Maintenance
Related MCP Connectors
Education Data MCP — US K-12 schools, districts, funding and child poverty.
Search, compare, and analyze U.S. college data — costs, earnings, programs, and outcomes.
Higher education data: tuition, graduation rates, and earnings
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to query MySQL databases and access Google Workspace (Sheets, Forms, Drive) for education program management, with built-in templates for data analysis and report generation.5-
- AlicenseNot gradedqualityDmaintenanceConnects Technolutions Slate with Claude to query and analyze student enrollment demographics, diversity metrics, and enrollment funnel data through natural language.MIT
- FlicenseNot gradedqualityDmaintenanceConnects Claude to the Canvas LMS REST API, enabling natural language queries about courses, assignments, grades, deadlines, and announcements.1-
- AlicenseAqualityCmaintenanceEnables AI assistants to discover and explore university research, researchers, academic programs, and institutional data from OpenAlex and the U.S. College Scorecard, returning source-linked results without fabricating facts.9MIT