OECD 标志

OECD

社区
isakskogstad

MCP-server that provides LLMs and AI-chatbots with easy access to OECD's statistical data.

发布者isakskogstad
代码仓库OECD-MCP
语言TypeScript
复刻数
4
星标数
8
可用工具
9
传输类型streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    OECD 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 9 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 8 个 Star 和 4 个 Fork。

OECD MCP Server

npm version MCP Registry MCP Protocol License

A Model Context Protocol (MCP) server providing AI assistants access to OECD's 5,000+ economic and statistical datasets via SDMX API. By connecting to the MCP server, you can use AI to search, analyze, and compare data from 38 OECD countries across economy, health, education, environment, and more.

En Model Context Protocol (MCP) server som ger AI-assistenter tillgång till OECD:s 5,000+ ekonomiska och statistiska dataset via SDMX API. Genom att ansluta till MCP-servern kan du med hjälp av AI söka, analysera och jämföra data från 38 OECD-länder inom ekonomi, hälsa, utbildning, miljö och mer.


Quick Start

Det är enkelt att ansluta en LLM / AI-chatbot till MCP-servern. Det enklaste sättet är att använda npm-paketet oecd-mcp via npx. Nedan finner du guider för olika klienter.

The easiest way to connect an LLM / AI chatbot to the MCP server is via the published npm package oecd-mcp using npx. Below you'll find guides for different clients.


Claude Desktop

1. Open Claude Desktop settings → Developer → "Edit Config"

2. Add to the JSON file:

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

3. Save and restart Claude Desktop


Claude Code

bash
claude mcp add oecd npx -y oecd-mcp

Verify: claude mcp list


OpenAI Codex

~/.codex/config.toml:

toml
[mcp.oecd]
command = "npx"
args = ["-y", "oecd-mcp"]
transport = "stdio"

From Source

bash
git clone https://github.com/isakskogstad/OECD-MCP.git
cd OECD-MCP
npm install
npm run build

Then point your client at node /absolute/path/to/OECD-MCP/dist/index.js, e.g.:

json
{
  "mcpServers": {
    "oecd": {
      "command": "node",
      "args": ["/absolute/path/to/OECD-MCP/dist/index.js"]
    }
  }
}

Features

Servern ansluter till OECD SDMX API och ger tillgång till 5,000+ dataset i 17 kategorier.

OECD SDMX API Tillgång till kvartalsvis nationalräkenskaper (QNA), huvudsakliga ekonomiska indikatorer (MEI), hälsostatistik, utbildningsdata, miljöindikatorer och mer från 38 OECD-medlemsländer plus partnerekonomier.

MCP-servern implementerar MCP-protokollet med stöd för:

  • 9 verktyg — Dataset-upptäckt (5) och dataåtkomst (4)
  • 7 resurser — Kategorier, länder, filterguide, ordlista, LLM-instruktioner
  • 7 promptmallar — Ekonomisk analys, landsjämförelser, nordiskt fokus

The server connects to the OECD SDMX API providing access to 5,000+ datasets across 17 categories:

OECD SDMX API Access to quarterly national accounts (QNA), main economic indicators (MEI), health statistics, education data, environmental indicators, and more from 38 OECD member countries plus partner economies.

The MCP server implements the MCP protocol with support for:

  • 9 tools — Dataset discovery (5) and data access (4)
  • 7 resources — Categories, countries, filter guide, glossary, LLM instructions
  • 7 prompt templates — Economic analysis, country comparisons, Nordic focus

Tools

ToolDescription
search_dataflowsSearch for datasets by keyword
list_dataflowsList datasets by category
get_categoriesList all 17 data categories
get_popular_datasetsGet commonly used datasets
search_indicatorsSearch for specific indicators
get_data_structureGet metadata for a dataset
query_dataQuery statistical data
get_dataflow_urlGenerate OECD Data Explorer link
list_categories_detailedDetailed category information

Resources

ResourceDescription
oecd://categories17 data categories with descriptions
oecd://dataflows/popularCurated popular datasets
oecd://countriesISO 3166-1 alpha-3 country codes
oecd://filter-guideSDMX filter syntax guide
oecd://glossaryDefinitions of OECD terms
oecd://llm-instructionsInstructions for AI assistants
oecd://api/infoAPI information

Prompt Templates

PromptDescription
analyze_economic_trendAnalyze economic trends over time
compare_countriesCompare data between countries
get_latest_statisticsGet latest statistics
explore_datasetGuided dataset exploration
find_data_for_questionFind the right dataset for a question
build_filterHelp building SDMX filters
nordic_comparisonCompare Nordic countries

Use Cases

Ekonomer & Forskare

Verktyg:

VerktygBeskrivning
query_dataFråga BNP, inflation, arbetslöshetsdata
search_dataflowsHitta dataset för forskningsfrågor
get_data_structureFörstå dataset-dimensioner

Exempel:

  • "Jämför BNP-tillväxt mellan G7-länderna 2020-2024"
  • "Analysera inflationstrender i eurozonen"
  • "Hitta data om arbetsproduktivitet per sektor"

App-exempel: Mobil ekonomisk brief med BNP-trender och jämförelsediagram.


Policyanalytiker

Verktyg:

VerktygBeskrivning
get_categoriesBläddra i 17 policyområden
list_dataflowsHitta relevanta policy-dataset
get_dataflow_urlGenerera länkar för rapporter

Exempel:

  • "Vilken sjukvårdsutgiftsdata finns för Sverige?"
  • "Hitta utbildningsresultatindikatorer för PISA-analys"
  • "Jämför miljöpolicyer i nordiska länder"

App-exempel: Hälsostatistik-dashboard med donutdiagram och landjämförelser.


Datajournalister

Verktyg:

VerktygBeskrivning
search_indicatorsHitta specifika mätvärden
get_popular_datasetsFå tillgång till ofta citerad data
query_dataHämta siffror för artiklar

Exempel:

  • "Hämta senaste arbetslöshetssiffror för EU-länder"
  • "Hitta inkomstojämlikhetsdata (Gini-koefficient)"
  • "Jämför skatteintäkter som % av BNP"

App-exempel: Produktivitetsjämförelse med stapeldiagram och trendlinjer.

Economists & Researchers

Tools:

ToolDescription
query_dataQuery GDP, inflation, unemployment data
search_dataflowsFind datasets for research questions
get_data_structureUnderstand dataset dimensions

Examples:

  • "Compare GDP growth between G7 countries 2020-2024"
  • "Analyze inflation trends in the Eurozone"
  • "Find data on labor productivity by sector"

App Example:

Mobile economic brief with GDP trends, G7 comparison charts, and sparkline visualizations from the QNA dataset.


Policy Analysts

Tools:

ToolDescription
get_categoriesBrowse 17 policy areas
list_dataflowsFind relevant policy datasets
get_dataflow_urlGenerate links for reports

Examples:

  • "What healthcare spending data is available for Sweden?"
  • "Find education outcome indicators for PISA analysis"
  • "Compare environmental policies across Nordic countries"

App Example:

Health statistics dashboard with donut chart overview and country comparison from the HEALTH_STAT dataset.


Data Journalists

Tools:

ToolDescription
search_indicatorsFind specific metrics
get_popular_datasetsAccess commonly cited data
query_dataGet numbers for stories

Examples:

  • "Get latest unemployment figures for EU countries"
  • "Find income inequality data (Gini coefficient)"
  • "Compare tax revenues as % of GDP"

Data Categories

CategoryCodeDescriptionDatasets
EconomyECOGDP, growth, inflation, interest rates500+
EmploymentJOBLabor market, wages300+
TradeTRDInternational trade250+
HealthHEAHealthcare, life expectancy200+
EducationEDUPISA, outcomes180+
EnvironmentENVClimate, emissions150+
InnovationSTIR&D, patents, AI140+
EnergyNRGProduction, renewables120+
TaxationTAXTax revenues, tax rates100+
FinanceFINMarkets, banking95+
GovernmentGOVGovernance, public sector90+
SocialSOCInequality, quality of life85+
AgricultureAGRProduction, food security75+
IndustryINDIndustrial production70+
DevelopmentDEVDevelopment aid60+
TransportTRAInfrastructure, mobility50+
RegionalREGSubnational data45+

About

Skapad av: Isak Skogstad

Kontakt: isak.skogstad@me.com

Fristående: Detta projekt är fristående och är inte anslutet till, godkänt av eller officiellt kopplat till OECD (Organisationen för ekonomiskt samarbete och utveckling).

Användarvillkor: Data tillhandahålls via OECD:s öppna SDMX API. Se OECD:s användarvillkor för användningsvillkor.

Created by: Isak Skogstad

Contact: isak.skogstad@me.com

Disclaimer: This project is independent and not affiliated with, endorsed by, or officially connected to the OECD (Organisation for Economic Co-operation and Development).

Terms of use: Data is provided via OECD's open SDMX API. See OECD Terms and Conditions for usage conditions.


Resources


Built with Model Context Protocol SDK | Version 4.0.0

安装

TypingMind
{
  "mcpServers": {
    "oecd": {
      "url": "https://oecd-mcp.onrender.com/mcp",
      "env": null
    }
  }
}

可用工具

  • search_dataflows

    Search for OECD datasets (dataflows) by keyword. Returns matching datasets with their IDs, names, and descriptions.

  • list_dataflows

    List available OECD dataflows (datasets), optionally filtered by category. Use this to browse datasets by topic area.

  • get_data_structure

    Get the metadata and structure of a specific OECD dataset. Returns dimensions, attributes, and valid values for querying data.

  • query_data

    Query actual statistical data from an OECD dataset. Use dimension filters to specify what data to retrieve.

  • get_categories

    Get all available OECD data categories (17 categories covering all topics: Economy, Health, Education, Environment, etc.)

  • get_popular_datasets

    Get a curated list of commonly used OECD datasets across all categories.

  • search_indicators

    Search for specific economic or social indicators by keyword (e.g., "inflation", "unemployment", "GDP").

  • get_dataflow_url

    Generate an OECD Data Explorer URL for a dataset. Use this to provide users with a direct link to explore data visually in their browser.

  • list_categories_detailed

    Get all OECD data categories with example datasets for each category. Returns comprehensive information about all 17 categories.

将 OECD MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 OECD 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过远程托管的 MCP 服务器 URL 在 TypingMind 中连接。

添加 MCP 服务器 URL

如果 OECD 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 https://oecd-mcp.onrender.com/mcp。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 https://oecd-mcp.onrender.com/mcp 粘贴到“服务器 URL”字段中。
  2. 为 OECD 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 OECD 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 OECD 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 OECD 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 OECD 帮我完成这项任务吗?
OECD
当然。我已阅读。
以下是我使用 OECD 得到的结果。

常见问题

OECD MCP 服务器有什么用途?

OECD 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 OECD MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 OECD,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 OECD MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 OECD 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 OECD MCP 连接到 TypingMind?

在 TypingMind 中添加 OECD 托管的 MCP 服务器 URL,即可连接。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

OECD MCP 在 TypingMind 中提供哪些工具?

OECD 提供 9 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 OECD MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 OECD 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

OECD Data Categories

List of all 17 OECD data categories with descriptions

Popular OECD Datasets

Curated list of commonly used OECD datasets

OECD API Information

Information about the OECD SDMX API endpoints and usage

analyze_economic_trend

Analyze economic indicators over time for specified countries

compare_countries

Compare data across multiple countries for a specific indicator

get_latest_statistics

Get the most recent statistics for a specific topic

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇