MCPcopy Index your code
hub / github.com/bdash-app/bdash

github.com/bdash-app/bdash @v1.35.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.35.0 ↗ · + Follow
532 symbols 1,126 edges 130 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GitHub release (latest by date) Test

Bdash

Simple SQL Client for lightweight data analysis.

Feature

Saving query

Drawing chart

Sharing result

You can share the result with gist.

https://gist.github.com/hokaccha/e128e1c3a68527ebf2c50d5e95a089b1

Multiple data sources support

  • [x] MySQL
  • [x] PostgreSQL (Amazon Redshift)
  • [x] SQLite3
  • [x] Google BigQuery
  • [x] Treasure Data
  • [x] Amazon Athena

MCP Server Support

Bdash includes an MCP (Model Context Protocol) server that enables AI coding tools like Claude Code to:

  • List data sources, tables, and schema information
  • Read and write SQL queries in Bdash's editor
  • Create new queries

Setup (Development)

# Install MCP server dependencies
yarn mcp:install

# Build MCP server
yarn mcp:build

Add to your Claude Code MCP settings (.claude/settings.json or project-level):

{
  "mcpServers": {
    "bdash": {
      "command": "node",
      "args": ["/path/to/bdash/src/mcp/dist/server.js"]
    }
  }
}

Setup (Bundled App - macOS)

{
  "mcpServers": {
    "bdash": {
      "command": "node",
      "args": ["/Applications/Bdash.app/Contents/Resources/mcp/server.js"]
    }
  }
}

Available Tools

Tool Description
list_datasources List all configured data sources
list_queries List all saved queries
get_query Get query details by ID
write_query Write SQL to a query's editor
create_query Create a new query
list_tables List tables for a data source
get_table_schema Get column definitions for a table

Installation

You can download and install from Web Site or Releases

Development

You can start the application with following commands.

# Install dependencies
$ yarn

# Run following commands with different shell processes.
$ yarn watch
$ yarn start

Release

To create a draft release on GitHub, run the following command with the next version name:

$ ./scripts/release 1.xx.x

This will trigger GitHub Action jobs to generate application binaries.

Once the jobs have been completed, you can publish the draft release on GitHub. It is recommended to include change logs as part of the release description.

License

MIT

Extension points exported contracts — how you extend this code

ButtonProps (Interface)
(no doc)
src/renderer/components/Button/Button.tsx
AthenaClientConfig (Interface)
(no doc)
src/lib/AthenaClient.ts
TableInfo (Interface)
(no doc)
src/mcp/src/schema-fetcher.ts
State (Interface)
(no doc)
src/renderer/pages/App/AppErrorBoundary.tsx
QueryChunk (Interface)
(no doc)
src/lib/Util/findQueryByLine.ts
TableSchema (Interface)
(no doc)
src/mcp/src/schema-fetcher.ts
AppState (Interface)
(no doc)
src/renderer/pages/App/AppStore.ts
DatabricksStatementResponse (Interface)
(no doc)
src/lib/DataSourceDefinition/Databricks.ts

Core symbols most depended-on inside this repo

set
called by 36
src/renderer/flux/Store.ts
update
called by 25
src/renderer/components/QueryResultChart/QueryResultChart.tsx
get
called by 22
src/lib/Database/Chart.ts
findQueryByLine
called by 21
src/lib/Util/findQueryByLine.ts
find
called by 20
src/renderer/pages/DataSource/DataSource.tsx
merge
called by 19
src/renderer/flux/Store.ts
execute
called by 18
src/lib/AthenaClient.ts
exec
called by 18
src/lib/Database/Connection.ts

Shape

Method 280
Function 147
Class 90
Interface 15

Languages

TypeScript100%

Modules by API surface

src/mcp/src/schema-fetcher.ts34 symbols
src/renderer/flux/Store.ts19 symbols
src/lib/DataSourceDefinition/TreasureData.ts18 symbols
src/renderer/components/QueryResultChart/QueryResultChart.tsx17 symbols
src/lib/DataSourceDefinition/Databricks.ts17 symbols
src/mcp/src/database.ts16 symbols
src/lib/Chart.ts16 symbols
src/lib/DataSourceDefinition/Postgres.ts15 symbols
src/lib/DataSourceDefinition/Mysql.ts14 symbols
src/lib/DataSourceDefinition/BigQuery.ts14 symbols
src/renderer/pages/Query/QueryAction.ts13 symbols
src/renderer/pages/Query/Query.tsx13 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add bdash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact