Логотип MCP (Model Context Protocol) server for Dataverse

MCP (Model Context Protocol) server for Dataverse

Організація
gdcc

Credits: this work is initially funded by the SSHOC-NL project developing Semantic Croissant. The first version of Croissant export for Dataverse was implemented by Philip Durbin (Harvard IQSS) and…

Видавецьgdcc
Репозиторійmcp-dataverse
МоваPython
Форки
9
Зірки
15
Доступні інструменти
0
Тип транспортуstreamable-http
Категорії
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    MCP (Model Context Protocol) server for Dataverse надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Перегляньте нижче дії, які можна викликати, з назвами й описами, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до відкритого коду

    Зірки: 15, форки: 9 — у пов’язаному репозиторії.

MCP (Model Context Protocol) server for Dataverse

Credits: this work is initially funded by the SSHOC-NL project developing Semantic Croissant. The first version of Croissant export for Dataverse was implemented by Philip Durbin (Harvard IQSS) and Slava Tykhonov, CODATA AI lead and Harvard Dataverse Ambassador. Starting from August 2025, further development of Dataverse MCP server with variables support by CDIF framework is funded by CODATA.

Croissant is a special language for machines, built on top of Schema.org. With Croissant, we aim to solve multilingual challenges and finally speak the same language across the planet. Even if it's artificial.

Getting started with mcp.dataverse.org

When getting started, we recommend the public MCP server for Dataverse at https://mcp.dataverse.org. (Below you'll also find instructions on how to run the MCP server locally.) You can visit https://mcp.dataverse.org/tools for an inventory of available tools.

You will need an MCP client with AI agent support such as Cursor, Visual Studio Code, Claude Desktop, Windsurf Editor, Zed, or Codex CLI.

(Optional) Command line test

Before you get too far into configuring your MCP client, you could try this quick test to get information about a dataset by passing its DOI.

curl -X POST "https://mcp.dataverse.org/tools/get_croissant_record" -H "Content-Type: application/json" -d '{"doi":"doi:10.7910/DVN/WGCRY7"}'

Configuring your MCP Client

You'll be using https://mcp.dataverse.org/sse as the URL and SSE (Server-Sent Events) as the type of MCP server.

Click the arrow to expand instructions for your MCP client.

Create a configuration file for Cursor at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "Croissant": {
      "url": "https://mcp.dataverse.org/sse",
      "headers": {
        "Content-Type": "application/json"
      }
    }
  }
}

Ensure that "auto" is selected as the agent.

To register the MCP server in Visual Studio Code (official docs), open settings and search for "mcp". Click the link "edit in settings.json" under "Model Context Protocol server configurations" and paste the "mcp-dataverse" object below, which is shown in a simplified version of that configuration file.

{
...
  "mcp": {
    "servers": {
      "mcp-dataverse": {
        "type": "sse",
        "url": "https://mcp.dataverse.org/sse"
      }
    }
  }
...
}

Next, click "view", then "open chat". Choose "Agent" in the dropdown that offers "Ask", "Edit", and "Agent".

Your new MCP server should be configured for use but you can check if it are enabled by clicking the "select tools" icon (just below the chat input area) and scrolling down (here you can also try the "add more tools" button).

To register the MCP server in Claude Desktop (official docs), open your settings, click "Developer", and then click "edit config". Paste the following into the config file (claude_desktop_config.json):

{
  "mcpServers": {
    "mcp-dataverse": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.dataverse.org/sse"]
    }
  }
}

Restart Claude Desktop. If you click "search and tools" (just below the prompt) you should see "mcp-dataverse".

As explained in the Windsurf docs, configure ~/.codeium/windsurf/mcp_config.json with the following.

{
  "mcpServers": {
    "mcp-dataverse": {
      "serverUrl": "https://mcp.dataverse.org/sse"
    }
  }
}

As explained in the Zed docs, add the following to settings.json (the ... indicates there are probably additional lines in your file):

{
  "context_servers": {
    "mcp-dataverse": {
      "command": {
        "path": "npx",
        "args": ["-y", "mcp-remote", "https://mcp.dataverse.org/sse"],
        "env": null
      },
      "settings": {}
    }
  }
...
}

Codex supports MCP servers through codex mcp add, and its configuration lives in ~/.codex/config.toml (Mac/Linux) or C:\Users\<username>\.codex\config.toml (Windows) by default.

Run the following command to add the MCP server for Dataverse:

codex mcp add mcp-dataverse --url https://mcp.dataverse.org/sse

You can verify that the server was added by running:

codex mcp list

It should show mcp-dataverse in the list of configured MCP servers under 'Name' column.

Chat examples

Here are some suggested examples to use when chatting with the MCP server.

Explore a dataset

Type in the chat of Agent:

Connect to the MCP server running at https://mcp.dataverse.org and explore all tools using the curl command.

Explore dataset doi:10.7910/DVN/6TFFPG

If everything is connected properly you should see this response from the Agent:

Based on the dataset information, this is a scientific dataset related to quantum physics research. Here are the key details:
Dataset Title: "Replication Data for: All-Optical Photoluminescence Spectra of Nitrogen-Vacancy Ensembles in Diamond at Low Magnetic Fields"
Description:
This dataset contains experimental data from research on Nitrogen-Vacancy (NV) centers in diamond
It includes data shown in both the main text and supplemental material of the associated scientific paper
The research focuses on photoluminescence spectra at low magnetic fields

Multilingual support

Let's connect to a dataset in Dutch and ask questions in English. Example dataset is taken from DANS Archaelogy Data Station:

give me an overview of doi:10.17026/dans-xv2-dsx6

The response in English:

Here's a comprehensive overview of the dataset with DOI 10.17026/AR/IQZTRX:
Basic Information:
Title: "Plangebied Epemawei te Ysbrechtum" (Planning Area Epemawei in Ysbrechtum)
Description: Archaeological investigation report for the Epemawei area in Ysbrechtum
Creator: B.I. van Hoof (RAAP Archeologisch Adviesbureau BV)
Date Created: April 18, 2025
Version: 6.3 build DANS-DataStation-PATCH-10
Key Findings:
Soil investigation revealed:
Tidal deposits
Eroded peat remnants
Middelzee deposits
No evidence of archaeological sites was found
No further archaeological investigation recommended
Content Structure:
The dataset contains 4 files:
RAAPrap_7313_SFEP_20240821.pdf (2.7 MB)
Main report document
Contains detailed findings and analysis
SFEP_boorgegevens.GeoJson (28.4 KB)
Geological data in GeoJSON format
Contains drilling data
SFEP_rapport_meta.ods (22.9 KB)
Report metadata in spreadsheet format
SFEP_tabellijst.ods (11.7 KB)
Table list in spreadsheet format
Technical Information:
License: Creative Commons Attribution 4.0 (CC BY 4.0)
File Formats:
PDF (application/pdf)
GeoJSON (application/octet-stream)
OpenDocument Spreadsheet (application/vnd.oasis.opendocument.spreadsheet)
All files have MD5 checksums for verification
Context:
Location: Ysbrechtum, Netherlands
Type: Archaeological investigation report
Purpose: Planning area assessment
Conducted by: RAAP Archeological Advisory Bureau
This dataset is valuable for:
Archaeological research
Urban planning
Historical geography
Environmental studies
Cultural heritage management

Local installation

cp .env-sample .env
docker-compose build
docker-compose up -d

Go to http://127.0.0.1:8000/tools to get an overview of available tools.

Test Croissant support for Dataverse

curl -X POST "http://localhost:8000/tools/get_croissant_record" -H "Content-Type: application/json" -d '{"doi":"doi:10.7910/DVN/WGCRY7"}'

Встановлення

TypingMind
Передумови:

Node.js 18+

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

Використовуйте MCP MCP (Model Context Protocol) server for Dataverse з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення MCP (Model Context Protocol) server for Dataverse ви можете використовувати їх із різними моделями ШІ в TypingMind, а не налаштовувати окремо для кожної моделі. Ця інтеграція MCP підключається в TypingMind через URL віддаленого сервера MCP.

Додайте URL сервера MCP

Виберіть цей варіант, якщо MCP (Model Context Protocol) server for Dataverse уже розміщено віддалено або вашій команді потрібен один спільний конектор для кількох користувачів.

1

Відкрийте конектори MCP

У TypingMind перейдіть до розділу «Плагіни», відкрийте «Конектори MCP» і виберіть «Додати URL».

  1. Відкрийте TypingMind у браузері.
  2. Перейдіть до розділу «Плагіни».
  3. Відкрийте конектори MCP.
  4. Натисніть «Додати URL».
Форма «Додати URL власного сервера MCP» у TypingMind
2

Вставте URL сервера

Введіть URL вашого сервера у поле «URL сервера». Додайте назву підключення, опис, значок, власні HTTP-заголовки або налаштування клієнта OAuth, якщо сервер їх потребує.

  1. Вставте URL вашого сервера у поле «URL сервера».
  2. Введіть назву підключення для MCP (Model Context Protocol) server for Dataverse.
  3. Додайте опис і значок, щоб було легше впізнати підключення.
  4. Додайте власні HTTP-заголовки або дані клієнта OAuth, якщо сервер потребує автентифікації.
3

Створіть підключення

Натисніть «Створити підключення», потім поверніться до списку плагінів і переконайтеся, що нове підключення MCP активне.

  1. Натисніть «Створити підключення».
  2. Поверніться до списку конекторів MCP.
  3. Переконайтеся, що підключення MCP (Model Context Protocol) server for Dataverse відображається як активне.
  4. Оновіть список плагінів, якщо підключення не з’явилося одразу.
4

Перемикайте моделі без повторного підключення

Почніть чат із бажаною моделлю, увімкніть інструменти MCP (Model Context Protocol) server for Dataverse у розділі «Плагіни» й за потреби перемикайтеся на іншу модель. Підключення MCP залишається доступним у робочому просторі TypingMind.

  1. Почніть новий чат у TypingMind.
  2. Виберіть модель ШІ, яку хочете використовувати.
  3. Увімкніть інструменти MCP (Model Context Protocol) server for Dataverse у розділі «Плагіни».
  4. За потреби попросіть модель скористатися інструментом.
  5. Перемкніться на іншу модель ШІ й використовуйте те саме підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через MCP (Model Context Protocol) server for Dataverse?
MCP (Model Context Protocol) server for Dataverse
Звісно. Я це прочитав.
Ось що я знайшов за допомогою MCP (Model Context Protocol) server for Dataverse.

Поширені запитання

Для чого використовується сервер MCP MCP (Model Context Protocol) server for Dataverse?

MCP (Model Context Protocol) server for Dataverse — це сервер MCP, який дає змогу сумісним клієнтам ШІ підключатися до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати MCP MCP (Model Context Protocol) server for Dataverse з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати MCP (Model Context Protocol) server for Dataverse з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати MCP MCP (Model Context Protocol) server for Dataverse із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши MCP (Model Context Protocol) server for Dataverse, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити MCP MCP (Model Context Protocol) server for Dataverse до TypingMind?

MCP (Model Context Protocol) server for Dataverse можна підключити в TypingMind, додавши URL його віддаленого сервера MCP. Це зручно, якщо вам потрібне віддалене підключення MCP, доступне з вашого робочого простору TypingMind.

Які інструменти надає MCP MCP (Model Context Protocol) server for Dataverse у TypingMind?

MCP (Model Context Protocol) server for Dataverse надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно передавати свої ключі API в TypingMind, щоб використовувати MCP MCP (Model Context Protocol) server for Dataverse?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає змогу зберігати контроль над постачальниками моделей, ключами API, промптами та конфігурацією MCP. Якщо MCP (Model Context Protocol) server for Dataverse потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇