Logotipo de MCP (Model Context Protocol) server for Dataverse

MCP (Model Context Protocol) server for Dataverse

Organización
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…

Editorgdcc
Repositoriomcp-dataverse
IdiomaPython
Forks
9
Estrellas
15
Herramientas disponibles
0
Tipo de transportestreamable-http
Categorías
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    MCP (Model Context Protocol) server for Dataverse ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    15 estrellas y 9 forks en el repositorio enlazado.

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"}'

Instalación

TypingMind
Requisitos:

Node.js 18+

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

Usa el MCP de MCP (Model Context Protocol) server for Dataverse con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado MCP (Model Context Protocol) server for Dataverse, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se conecta en TypingMind mediante la URL de un servidor MCP alojado de forma remota.

Añade la URL de un servidor MCP

Usa esta opción si MCP (Model Context Protocol) server for Dataverse ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL de tu servidor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL de tu servidor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de MCP (Model Context Protocol) server for Dataverse.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de MCP (Model Context Protocol) server for Dataverse aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar

Inicia un chat con tu modelo preferido, activa las herramientas de MCP (Model Context Protocol) server for Dataverse desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de MCP (Model Context Protocol) server for Dataverse desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar MCP (Model Context Protocol) server for Dataverse para ayudarme con esta tarea?
MCP (Model Context Protocol) server for Dataverse
Claro. Lo he leído.
Esto he encontrado usando MCP (Model Context Protocol) server for Dataverse.

Preguntas frecuentes

¿Para qué sirve el servidor MCP MCP (Model Context Protocol) server for Dataverse?

MCP (Model Context Protocol) server for Dataverse es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP MCP (Model Context Protocol) server for Dataverse con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar MCP (Model Context Protocol) server for Dataverse con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de MCP (Model Context Protocol) server for Dataverse con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con MCP (Model Context Protocol) server for Dataverse conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP MCP (Model Context Protocol) server for Dataverse a TypingMind?

Puedes conectar MCP (Model Context Protocol) server for Dataverse en TypingMind añadiendo la URL de su servidor MCP alojado. Esto resulta útil si quieres una conexión MCP remota disponible desde tu espacio de trabajo de TypingMind.

¿Qué herramientas ofrece el servidor MCP MCP (Model Context Protocol) server for Dataverse en TypingMind?

MCP (Model Context Protocol) server for Dataverse ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP MCP (Model Context Protocol) server for Dataverse?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si MCP (Model Context Protocol) server for Dataverse requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇