Showboard

io.github.rohanbeingsocial由 GitHub 账号 rohanbeingsocial 发布v0.4.1更新于 Oct 27, 2026

Your coding agent answers with dashboards: charts and tables from read-only SQL, Excel and CSV.

概览

AI 生成的概览

本地 MCP 服务器,让编码助手用只读 SQL、Excel 或 CSV 数据生成含图表、表格和关键数字的仪表板来回答数据问题。

可以做什么
  • 对 Postgres 数据库或 SQLite 文件执行只读 SQL 查询,或读取 Excel、CSV 文件夹
  • 把查询结果做成仪表板,为每个结果选择图表,并附表格和关键数字
  • 在浏览器页面、终端旁的文本面板,或自己的 React 应用中展示看板
  • 为 Claude Code、Codex、Cursor、Gemini CLI 等编码助手完成配置并检查安装
适用场景
适合希望编码助手针对数据库或表格文件夹回答问题,并以可视化方式而非纯文本呈现结果的场景,尤其是在终端或项目目录中工作时。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 22.13 或更高版本。需通过 SHOWBOARD_DB 环境变量或 init 命令提供 Postgres URL 或 SQLite 文件,或指向包含 .xlsx、.xlsm、.csv、.tsv 文件的文件夹。仅限桌面端,看板页面在 localhost 上提供。
安装前请注意
SHOWBOARD_DB 是机密,可能包含带凭据的完整数据库连接地址,不要写入共享配置。服务器按只读设计(仅接受 SELECT、只读事务、行数与时间限制),但仍会连接真实数据,并在项目目录中写入看板与设置文件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Showboard,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Showboard]

Ask in your terminal. Get a dashboard on your screen.

Showboard is an MCP server that lets Claude Code, Codex, Cursor, Gemini CLI and other coding agents answer questions about your SQL database, or a folder of Excel and CSV files, with charts, tables and headline numbers: in your browser, inside your own app, or beside your terminal.

The agent writes a few read-only SQL queries and a short layout. Showboard runs the queries, picks a chart for each result, lays out the board and puts it on your screen. Every number comes from a query, one click away under its chart.

[Claude Code in a terminal beside Showboard's page in a browser: asked for the best seller of 2026, Claude calls Showboard's draw tool and a board of headline numbers, a line chart and bar charts appears]

Let your agent set it up

In your project, ask your coding agent:

Set up Showboard in this project: run npx showboard guide and follow it.

The guide is written for the agent. It has the agent pick the path that fits the project (spreadsheets, a database, or your own app), run the commands, and check its own work with npx showboard doctor. doctor starts Showboard the way each agent will and says how to fix anything that fails.

Or by hand

You need Node.js 22.13 or later.

A folder of spreadsheets, or a database:

bash
npx showboard init ./reports                 # .xlsx, .xlsm, .csv, .tsv files or folders of themnpx showboard init --db ./shop.sqlite        # or a Postgres URL (or set SHOWBOARD_DB)npx showboard doctor                         # checks the setup

Restart your agent in that folder, then open http://localhost:4710, or run npx showboard pane in a terminal beside the agent. init writes the settings for Claude Code, plus any agent the folder already has settings for. To name others, pass --agent codex,opencode,bharatcode,gemini,cursor,vscode (or all).

Inside your own app (React 19):

bash
npm install showboard zod
ts
// server: mount the handler. Next.js, Express, Hono and node:http are in the guide.import { createShowboard } from "showboard/server";
const showboard = await createShowboard({ db: process.env.DATABASE_URL, boardsDir: ".showboard/boards" });const handle = showboard.handler({ basePath: "/showboard" });   // (req: Request) => Promise<Response>
tsx
// page: where boards appearimport { Board, ShowboardProvider } from "showboard/react";import "showboard/styles.css";
<ShowboardProvider url="/showboard">  <Board /></ShowboardProvider>;

Then point the agents at it: npx showboard init --url http://localhost:3000/showboard.

Commands

CommandWhat it does
showboard guideSetup steps for a coding agent
showboard initAdds Showboard to each agent's settings in this folder
showboard doctorChecks the setup the way each agent will meet it, with fixes
showboard mcpThe MCP server the agent starts
showboard serveShowboard's own board page, on its own
showboard paneThe boards as text, in a terminal beside the agent

Safe by design

  • Postgres queries run in a READ ONLY transaction, with a time and row limit. SQLite files are opened read-only, and spreadsheets are only read.
  • Only SELECT is accepted.
  • In your app, the agent can run only the actions you register, each checked against its input schema.
  • The handler answers only localhost, and refuses requests from other websites.

More

  • README: the benchmark, how it works, and examples.
  • SETUP.md: the agent's setup guide.
  • Reference: every option, tool, command and route.

MIT licensed. Built with help from AI coding agents, mostly Claude Code.

来源:packages/showboard/README.md,提交 8a6f609

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

1
  1. v0.4.1最新Oct 22, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分