Logo di MCP (Model Context Protocol) server for Dataverse

MCP (Model Context Protocol) server for Dataverse

Organizzazione
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…

Autoregdcc
Repositorymcp-dataverse
LinguaPython
Fork
9
Stelle
15
Strumenti disponibili
0
Tipo di trasportostreamable-http
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    MCP (Model Context Protocol) server for Dataverse mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    15 stelle e 9 fork nel repository collegato.

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

Installazione

TypingMind
Prerequisiti:

Node.js 18+

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

Usa MCP MCP (Model Context Protocol) server for Dataverse con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso MCP (Model Context Protocol) server for Dataverse, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP si connette in TypingMind tramite l'URL di un server MCP ospitato in remoto.

Aggiungi l'URL di un server MCP

Usa questo metodo se MCP (Model Context Protocol) server for Dataverse è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci URL del tuo server nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla URL del tuo server nel campo URL del server.
  2. Inserisci un nome per la connessione a MCP (Model Context Protocol) server for Dataverse.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione MCP (Model Context Protocol) server for Dataverse risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di MCP (Model Context Protocol) server for Dataverse dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di MCP (Model Context Protocol) server for Dataverse dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare MCP (Model Context Protocol) server for Dataverse per aiutarmi con questa attività?
MCP (Model Context Protocol) server for Dataverse
Certo. Ho letto.
Ecco cosa ho trovato con MCP (Model Context Protocol) server for Dataverse.

Domande frequenti

A cosa serve il server MCP MCP (Model Context Protocol) server for Dataverse?

MCP (Model Context Protocol) server for Dataverse è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare MCP (Model Context Protocol) server for Dataverse MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare MCP (Model Context Protocol) server for Dataverse con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP MCP (Model Context Protocol) server for Dataverse con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando MCP (Model Context Protocol) server for Dataverse, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego MCP (Model Context Protocol) server for Dataverse MCP a TypingMind?

Puoi collegare MCP (Model Context Protocol) server for Dataverse a TypingMind aggiungendo l'URL del suo server MCP ospitato in remoto. È utile se vuoi una connessione MCP remota disponibile dalla tua area di lavoro TypingMind.

Quali strumenti offre MCP (Model Context Protocol) server for Dataverse MCP in TypingMind?

MCP (Model Context Protocol) server for Dataverse mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare MCP (Model Context Protocol) server for Dataverse MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se MCP (Model Context Protocol) server for Dataverse richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇