mcp-d3-server

mcp-d3-server

2

The D3 MCP Server is a TypeScript Express-based server designed for providing D3.js visualization documentation, chart recommendations, and code generation. Its standout features include chart type recommendations and D3 code generation through the MCP protocol connection.

D3 MCP Server

A TypeScript Express-based Model Context Protocol (MCP) server for D3.js information. This server provides D3 visualization documentation, chart recommendations, and code generation through the MCP protocol.

Features

  • 📊 D3 Resources: Access documentation and examples from D3 sources
  • 🔍 Chart Recommendation: Get recommendations for the right chart type based on your data and goals
  • 💻 Code Generation: Generate D3 code examples for various chart types
  • 🔌 MCP Integration: Connect AI tools directly to D3 knowledge

Prerequisites

  • Node.js 16.x or higher
  • npm or yarn

Usage

  1. Start the server

  2. The server will be running at http://localhost:3000 (or the PORT specified in your .env file)

  3. Connect to the MCP endpoint at http://localhost:3000/mcp-sse using an MCP client