DANDI Query Server MCP Server

$npm install && npm run build
README.md

Enables complex queries over data on the DANDI Archive

dandi-query-server MCP Server

Enables complex queries over data on the DANDI Archive

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing:

  • Resources representing text notes with URIs and metadata
  • Tools for creating new notes
  • Prompts for generating summaries of notes

Features

Resources

  • List and access notes via note:// URIs
  • Each note has a title, content and metadata
  • Plain text mime type for simple content access

Tools

  • create_note - Create new text notes
    • Takes title and content as required parameters
    • Stores note in server state

Prompts

  • summarize_notes - Generate a summary of all stored notes
    • Includes all note contents as embedded resources
    • Returns structured prompt for LLM summarization

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "dandi-query-server": {
      "command": "/path/to/dandi-query-server/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Tools (1)

create_noteCreate new text notes and store them in server state.

Configuration

claude_desktop_config.json
{"mcpServers": {"dandi-query-server": {"command": "/path/to/dandi-query-server/build/index.js"}}}

Try it

Create a new note titled 'DANDI Research' with the content 'Investigating neurophysiology datasets.'
List all the notes I have stored in the DANDI query system.
Summarize all my stored notes using the summarize_notes prompt.
Access the note at note://1 to see its metadata and content.

Frequently Asked Questions

What are the key features of DANDI Query Server?

List and access notes via custom note:// URIs. Create new text notes with titles and content. Generate summaries of all stored notes using built-in prompts. Support for plain text mime types and metadata.

What can I use DANDI Query Server for?

Managing research notes alongside DANDI Archive data queries. Organizing metadata and text snippets for neurophysiology datasets. Generating automated summaries of multiple research observations. Accessing structured text resources through a standardized URI scheme.

How do I install DANDI Query Server?

Install DANDI Query Server by running: npm install && npm run build

What MCP clients work with DANDI Query Server?

DANDI Query Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use DANDI Query Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free