open-index/open-npm huggingface dataset:
npm package: @htoo-tw/report-generator
Description: An MCP report generator server
Latest version: 0.2.1

# MCP Report Generator

A tool for generating interactive data visualization reports with multiple charts.

## Sample usage

```json
{
  "charts": [
    {
      "type": "bar",
      "data": [
        { "x": "Jan", "y": 100 },
        { "x": "Feb", "y": 150 },
        { "x": "Mar", "y": 200 }
      ],
      "options": {
        "title": "Monthly Sales",
        "xAxisLabel": "Month",
        "yAxisLabel": "Revenue ($)"
      }
    },
    {
      "type": "line",
      "data": [
        { "x": "Week 1", "y": 10 },
        { "x": "Week 2", "y": 25 },
        { "x": "Week 3", "y": 15 },
        { "x": "Week 4", "y": 30 }
      ],
      "options": {
        "title": "Weekly Trend"
      }
    }
  ],
  "title": "Sales Performance Report",
  "description": "Analysis of sales performance across different timeframes"
}
```

## Development

```bash
pnpm dev
```

This will start the MCP server with the STDIO as the transport method in which `dist/stdio.js` is generated.

For interactive testing and debugging, the [MCP inspector](https://github.com/modelcontextprotocol/inspector) is recommended to use

Run the inspector by

```bash
npx @modelcontextprotocol/inspector
```

and add the command:

```
node /PATH/mcp/report-generator/dist/stdio.js
```

## Production

Build by using

```bash
pnpm build
```

---

This project was created with [create-xmcp-app](https://github.com/basementstudio/xmcp).