<!-- 开放数据、API与MCP服务器 | CourseToJob -->
> Source: https://coursetojob.com/zh/data/ — updated 2026-09-26 · language: zh-Hans
> Markdown version of this CourseToJob page for AI agents. The HTML page is canonical. Data licence CC BY 4.0: cite the page URL and the original statistical source.

# 开放数据、API与MCP服务器

CourseToJob上的所有内容都向用户、开发者和AI助手开放：免费下载、JSON API、MCP服务器、A2A智能体，以及每个页面的Markdown版本。

更新于 2026年9月26日 [我们如何使用数据](https://coursetojob.com/zh/methodology/)

## 数据集

| 数据集 | 格式 | 数据来源 |
| --- | --- | --- |
| 各国毕业生去向  
每个有数据的国家的学历溢价、按教育程度划分的收入和失业率。 | [CSV](https://coursetojob.com/data/graduate-outcomes-by-country.csv) · [JSON](https://coursetojob.com/data/graduate-outcomes-by-country.json) | ILOSTAT |
| 国家  
每个国家页面的主要毕业生指标以及12种语言的国家名称。 | [JSON](https://coursetojob.com/api/v1/countries.json) | ILOSTAT, OECD, World Bank |
| 职业  
包含ISCO-08、SOC和ESCO代码、美国薪资中位数以及12种语言名称的职业数据。 | [JSON](https://coursetojob.com/api/v1/careers.json) | ESCO, US BLS, ILOSTAT |
| 大学专业  
包含ISCED-F代码和相关职业的专业数据。 | [JSON](https://coursetojob.com/api/v1/subjects.json) | OECD, UK DfE (LEO) |
| 数据包  
描述可下载数据集的Frictionless数据包。 | [JSON](https://coursetojob.com/data/datapackage.json) | Frictionless Data Package |

[英国按专业和大学划分的毕业生收入（英国教育部 LEO 数据）也发布在我们的英国版网站上](https://coursetojob.co.uk/graduate-salaries/)（CourseToJob.co.uk，英文）.

我们汇编的数据集采用的许可协议为 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). 请注明“CourseToJob”并附上链接，同时注明每个文件中列出的原始来源。

## JSON API

该API免费、无需密钥，返回的JSON包含全部12种语言的名称和文本。

- [`/api/v1/index.json`](https://coursetojob.com/api/v1/index.json) — 端点目录
- `/api/v1/careers/{id}.json` , `/api/v1/subjects/{id}.json` , `/api/v1/countries/{iso2}.json` — 单个职业、专业或国家的完整记录
- `/api/v1/search?q=…&lang=…` — 支持任意语言搜索
- [`/openapi.json`](https://coursetojob.com/openapi.json) — OpenAPI 3.1 · [`/.well-known/api-catalog`](https://coursetojob.com/.well-known/api-catalog) (RFC 9727)

```
<code>curl https://coursetojob.com/api/v1/search?q=nurse&lang=zh</code>
```

## 面向AI助手的MCP服务器

可连接Claude、ChatGPT、Cursor或任何支持模型上下文协议（MCP）的客户端。该服务器为只读模式，无需登录，可用12种语言回答。

**端点:** `https://coursetojob.com/mcp` · [服务器卡片](https://coursetojob.com/.well-known/mcp/server-card.json)

- `search` — Full-text search across CourseToJob in any of 12 languages. Returns matching pages with type, id, localized name, URL and Markdown URL. Use it first when you do not know an exact id.
- `get_career` — Career profile: what the job involves, skills, entry routes, degree subjects that lead to it, licensing, progression, FAQs, official US pay (BLS) where published, ILO occupation-group earnings in selected countries and the official ESCO skills profile.
- `get_subject` — What you can do with a degree subject: careers it leads to, topics, skills, how the degree differs between countries, OECD earnings and employment by field of study, and UK graduate earnings (DfE LEO) where published.
- `get_country` — Official data for one country: median monthly earnings by education level and by occupation group (ILO), the degree premium, unemployment by education for adults and young people, OECD relative earnings, World Bank context and official study/visa/job links where available.
- `compare_countries` — Compare 2–8 countries on degree premium, tertiary and overall unemployment, tertiary earnings (PPP$), OECD relative earnings and GDP per capita.
- `rank_countries` — Rank countries by an official metric: degree_premium (tertiary vs all employees' median earnings), tertiary_unemployment, unemployment_gap (tertiary minus all adults), tertiary_earnings_ppp or youth_tertiary_unemployment. Optional World Bank region filter.
- `list_catalogue` — List ids, localized names and URLs so you never have to guess a slug.

### Claude Code

```
<code>claude mcp add --transport http coursetojob https://coursetojob.com/mcp</code>
```

### JSON配置（适用于大多数MCP客户端）

```
<code>{
  "mcpServers": {
    "coursetojob": {
      "type": "http",
      "url": "https://coursetojob.com/mcp"
    }
  }
}</code>
```

## Markdown、A2A与服务发现

- 以Markdown格式请求任意页面： `curl -H "Accept: text/markdown" https://coursetojob.com/careers/nurse/`
- A2A智能体卡片： [`/.well-known/agent-card.json`](https://coursetojob.com/.well-known/agent-card.json)
- 各语言的llms.txt： [en](https://coursetojob.com/llms.txt) · [es](https://coursetojob.com/es/llms.txt) · [pt](https://coursetojob.com/pt/llms.txt) · [fr](https://coursetojob.com/fr/llms.txt) · [de](https://coursetojob.com/de/llms.txt) · [it](https://coursetojob.com/it/llms.txt) · [ar](https://coursetojob.com/ar/llms.txt) · [zh](https://coursetojob.com/zh/llms.txt) · [ja](https://coursetojob.com/ja/llms.txt) · [ko](https://coursetojob.com/ko/llms.txt) · [hi](https://coursetojob.com/hi/llms.txt) · [id](https://coursetojob.com/id/llms.txt) · [llms-full.txt](https://coursetojob.com/llms-full.txt)
- 订阅源： [RSS](https://coursetojob.com/zh/feed.xml) · [sitemap.xml](https://coursetojob.com/sitemap.xml)

请将自动化请求控制在合理频率，并缓存响应结果。官方来源发布新数据时，数据文件会随之更新。

