npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cdf-datamodelling-mcp-server

v1.0.0

Published

A Node.js MCP (Model Context Protocol) server

Readme

Dune MCP Server

A Node.js implementation of a Model Context Protocol (MCP) server. This server provides example tools and resources that can be used with MCP-compatible clients like Claude Desktop.

Features

  • Tools: Interactive functions that can be called by MCP clients
    • echo: Echo back input text
    • get_current_time: Get the current date and time
    • get_config: Get current server configuration (without sensitive data)
  • Resources: Static or dynamic content that can be read by MCP clients
    • Server information and configuration

Installation

From npm (when published)

npm install -g dune-mcp-server

From source

  1. Clone the repository:
git clone https://github.com/yourusername/dune-mcp-server.git
cd dune-mcp-server
  1. Install dependencies:
npm install
  1. Configure environment variables:
cp env.example .env
# Edit .env with your actual values
  1. Build the project:
npm run build

Configuration

The server requires the following environment variables to be set:

  • CLIENT_ID: Your API client ID
  • CLIENT_SECRET: Your API client secret
  • BASE_URL: The base URL for your API (e.g., https://api.example.com)
  • PROJECT: Your project identifier

Environment Variables Setup

  1. Using .env file (recommended for development):

    cp env.example .env

    Then edit .env with your actual values.

  2. Using system environment variables:

    export CLIENT_ID="your_client_id"
    export CLIENT_SECRET="your_client_secret"
    export BASE_URL="https://api.example.com"
    export PROJECT="your_project"
  3. Using Claude Desktop configuration:

    {
      "mcpServers": {
        "dune-mcp-server": {
          "command": "dune-mcp-server",
          "env": {
            "CLIENT_ID": "your_client_id",
            "CLIENT_SECRET": "your_client_secret",
            "BASE_URL": "https://api.example.com",
            "PROJECT": "your_project"
          }
        }
      }
    }

Usage

Running the server

npm start

Or if installed globally:

dune-mcp-server

Development

To run in development mode with automatic rebuilding:

npm run dev

Using with Claude Desktop

Add the following to your Claude Desktop configuration file:

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

{
  "mcpServers": {
    "dune-mcp-server": {
      "command": "node",
      "args": ["/path/to/dune-mcp-server/build/index.js"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "dune-mcp-server": {
      "command": "dune-mcp-server"
    }
  }
}

API

Tools

echo

Echoes back the provided text.

Parameters:

  • text (string): The text to echo back

Example:

{
  "name": "echo",
  "arguments": {
    "text": "Hello, world!"
  }
}

get_current_time

Returns the current date and time in ISO format.

Parameters: None

Example:

{
  "name": "get_current_time",
  "arguments": {}
}

get_config

Returns the current server configuration (excluding sensitive data like client secret).

Parameters: None

Example:

{
  "name": "get_config",
  "arguments": {}
}

Response:

{
  "baseUrl": "https://api.example.com",
  "project": "your_project",
  "clientId": "your_client_id"
}

Resources

config://server-info

Returns information about the server including its capabilities and available tools.

Development

Project Structure

dune-mcp-server/
├── src/
│   └── index.ts          # Main server implementation
├── build/                # Compiled JavaScript (generated)
├── package.json          # Package configuration
├── tsconfig.json         # TypeScript configuration
├── LICENSE               # MIT License
└── README.md            # This file

Building

npm run build

Cleaning

npm run clean

Publishing to npm

  1. Update the version in package.json
  2. Update the repository URLs in package.json to point to your actual repository
  3. Build the project: npm run build
  4. Publish: npm publish

The prepublishOnly script will automatically clean and build the project before publishing.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see the LICENSE file for details.

Links