MCP server for data science analysis design management
Project description
insight-blueprint
A Python MCP server for hypothesis-driven data analysis. Manage analysis designs, data catalogs, and review workflows through Claude Code or any MCP-compatible client.
Installation
Recommended: Claude Code Plugin
# Option 1: From the official marketplace
claude plugin install etoyama/insight-blueprint
# Option 2: Via custom marketplace (permanent install)
/plugin marketplace add etoyama/insight-blueprint
/plugin install insight-blueprint@insight-blueprint-marketplace
# Option 3: From a local clone (session only)
git clone https://github.com/etoyama/insight-blueprint.git
claude --plugin-dir ./insight-blueprint
All options provide 8 analysis skills and auto-configure the MCP server. A WebUI dashboard opens automatically at http://127.0.0.1:3000.
Tip: Option 3 loads the plugin for the current session only. Add a shell alias for convenience:
alias claude-ib='claude --plugin-dir /path/to/insight-blueprint'
Alternative: Direct Execution
# Start the server without plugin (zero-install)
uvx insight-blueprint --project /path/to/my-analysis
# Or install permanently
uv tool install insight-blueprint
insight-blueprint --project /path/to/my-analysis
Optional: Python Package
For data-lineage tracking with tracked_pipe in your notebooks/scripts:
uv add insight-blueprint
This is optional but recommended for analysis pipeline transparency. MCP tools work without it.
Features
MCP Tools
insight-blueprint exposes 18 tools via the Model Context Protocol, allowing AI assistants to manage your analysis workflow:
| Category | Tools |
|---|---|
| Analysis Design | create_analysis_design, update_analysis_design, get_analysis_design, list_analysis_designs |
| Data Catalog | add_catalog_entry, update_catalog_entry, get_table_schema, search_catalog |
| Domain Knowledge | get_domain_knowledge, extract_domain_knowledge, save_extracted_knowledge, suggest_knowledge_for_design, suggest_cautions |
| Review Workflow | transition_design_status, save_review_comment, save_review_batch, get_review_comments |
| Project | get_project_context |
WebUI Dashboard
A browser-based dashboard (http://127.0.0.1:3000) with two tabs:
- Designs -- Browse analysis designs, view details (overview + history), and track status transitions
- Catalog -- Search domain knowledge, browse data sources, and check cautions
Bundled Skills
The plugin provides 8 analysis skills that are automatically available after installation:
/analysis-framing-- Explore available data and existing analyses to frame a hypothesis direction/analysis-design-- Guided workflow for creating hypothesis documents/analysis-journal-- Record reasoning steps during analysis (observations, evidence, decisions, questions)/analysis-reflection-- Structured reflection to draw conclusions or branch hypotheses/analysis-revision-- Guided revision workflow for addressing review comments/catalog-register-- Step-by-step data source registration/data-lineage-- Track data transformations and export lineage diagrams (Mermaid)/batch-analysis-- Overnight batch execution of queued designs (headless notebooks, self-review, journal recording)
Skills support both English and Japanese trigger phrases.
Analysis Workflow
Skills chain together to support the full hypothesis-driven analysis lifecycle:
/analysis-framing (explore data, frame direction)
↓
/analysis-design (create hypothesis)
↓ (interactive) ↓ (batch)
/analysis-journal /batch-analysis (overnight headless)
↓ ↓
↓
/analysis-reflection (reflect → conclude or branch) ← morning review
↓ ↗ back to /analysis-framing (new direction needed)
↕ WebUI review → /analysis-revision (address review comments)
/catalog-register (register findings as domain knowledge)
Each design has an analysis_intent field (exploratory, confirmatory, or mixed) to distinguish whether you're testing a specific hypothesis or exploring data for patterns. The Insight Journal (.insight/designs/{id}_journal.yaml) tracks your reasoning process with 8 event types mapped to the Narrative Scaffolding framework (Huang+ IUI 2026).
CLI Options
insight-blueprint --project /path/to/project # Specify project directory
insight-blueprint --no-browser # Suppress browser auto-open
insight-blueprint --version # Show version
insight-blueprint # Use current directory
Team Server Mode
Multiple Claude Code instances can share a single insight-blueprint server via MCP SSE (Server-Sent Events).
Server mode (WebUI + MCP SSE)
insight-blueprint --project /path/to/project --mode server --port 4000
Each Claude Code instance connects by adding to .claude/settings.json:
{
"mcpServers": {
"insight-blueprint": {
"type": "sse",
"url": "http://<host>:4000/mcp/sse"
}
}
}
Headless mode (MCP SSE only, no WebUI)
insight-blueprint --project /path/to/project --mode headless --port 4000
Options
| Option | Default | Description |
|---|---|---|
--mode full |
(default) | stdio MCP + WebUI on localhost:3000. Standard single-user mode |
--mode server |
- | HTTP MCP SSE + WebUI on the same port. For team/multi-client use |
--mode headless |
- | HTTP MCP SSE only (no WebUI). Lightweight deployment |
--host |
0.0.0.0 |
Bind address (server/headless mode only) |
--port |
4000 |
Listen port (server/headless mode only) |
--no-browser |
false |
Suppress browser auto-open in full mode |
WARNING: No authentication. Phase 1 does not include authentication. Run the server on a trusted network only, or bind to localhost with
--host 127.0.0.1.
Migration Guide (from v0.3.x)
If you previously used insight-blueprint without the plugin system, clean up the old skill copies:
# Remove old skill copies (now provided by the plugin)
rm -rf .claude/skills/analysis-design .claude/skills/analysis-framing \
.claude/skills/analysis-journal .claude/skills/analysis-reflection \
.claude/skills/analysis-revision .claude/skills/catalog-register \
.claude/skills/data-lineage
# Remove old rule copies (now integrated into skill definitions)
rm -rf .claude/rules/analysis-workflow.md .claude/rules/catalog-workflow.md \
.claude/rules/insight-yaml.md .claude/rules/extension-policy.md
The plugin's skills take precedence, so old copies won't cause errors but should be removed to avoid confusion.
Development
Requires Python 3.11+, uv, and Node.js (for frontend build).
git clone https://github.com/etoyama/insight-blueprint.git
cd insight-blueprint
uv sync --all-extras
# Build frontend assets (required for WebUI)
poe build-frontend
# Run lint + typecheck + test
poe all
See CONTRIBUTING.md for setup instructions, code style, and how to submit pull requests.
Tech Stack
| Tool | Purpose |
|---|---|
| uv | Package management |
| ruff | Linting and formatting |
| ty | Type checking |
| pytest | Testing |
| FastMCP | MCP server framework |
| FastAPI | WebUI backend |
Support
If you find this project useful, consider buying me a coffee.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file insight_blueprint-0.4.4.tar.gz.
File metadata
- Download URL: insight_blueprint-0.4.4.tar.gz
- Upload date:
- Size: 907.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
254f14a9723bfb541981ac480343ca7244898a7d8df2e48e720f157c0752983e
|
|
| MD5 |
88b13d3e632436d38d7bc5d7cf938c76
|
|
| BLAKE2b-256 |
123f7cae0aa912a795558b9e4270f5b727a31a88968365b61abf8db856f2de44
|
Provenance
The following attestation bundles were made for insight_blueprint-0.4.4.tar.gz:
Publisher:
publish.yml on etoyama/insight-blueprint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insight_blueprint-0.4.4.tar.gz -
Subject digest:
254f14a9723bfb541981ac480343ca7244898a7d8df2e48e720f157c0752983e - Sigstore transparency entry: 1257061932
- Sigstore integration time:
-
Permalink:
etoyama/insight-blueprint@7e8bd6a467c7d647778df2182cf4216d3cedd3a7 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/etoyama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7e8bd6a467c7d647778df2182cf4216d3cedd3a7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file insight_blueprint-0.4.4-py3-none-any.whl.
File metadata
- Download URL: insight_blueprint-0.4.4-py3-none-any.whl
- Upload date:
- Size: 162.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3e8feacb6945341a0aafaecc5025ca8f8f7d271373cfb494c9c53dc869ce83
|
|
| MD5 |
1eb2b24d29facc3179631f9e6a805d04
|
|
| BLAKE2b-256 |
89dc5a05005eab59225f827b064c92ae33674036464aa84cdbafadbf0cf9cb3b
|
Provenance
The following attestation bundles were made for insight_blueprint-0.4.4-py3-none-any.whl:
Publisher:
publish.yml on etoyama/insight-blueprint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insight_blueprint-0.4.4-py3-none-any.whl -
Subject digest:
cd3e8feacb6945341a0aafaecc5025ca8f8f7d271373cfb494c9c53dc869ce83 - Sigstore transparency entry: 1257061966
- Sigstore integration time:
-
Permalink:
etoyama/insight-blueprint@7e8bd6a467c7d647778df2182cf4216d3cedd3a7 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/etoyama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7e8bd6a467c7d647778df2182cf4216d3cedd3a7 -
Trigger Event:
push
-
Statement type: