Supports syncing TikTok Ads campaign data to Lark Base tables for dashboard visualization and reporting.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hype Dashcreate a bar chart showing monthly sales from the sales table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hype Dash
Production-ready TypeScript SDK for creating and managing Lark/Feishu dashboards via REST API with Model Context Protocol (MCP) server support.
Features
Type-Safe: Full TypeScript support with comprehensive type definitions
Fluent API: Intuitive builder pattern for creating dashboard blocks
7 Block Types: Charts, Metrics, Views, Text, Lists, Tab Pages, and Filters
MCP Server: Native Claude Code integration via Model Context Protocol
Production Ready: Error handling, retries, logging, and validation
Batch Operations: Efficiently create multiple blocks at once
2025 Dashboard Features: Latest Lark dashboard capabilities
Python SDK: Comprehensive Python SDK for Lark Base data management
Installation
TypeScript/JavaScript
Python
See Python SDK Documentation for detailed setup and usage.
Quick Start
Basic Usage
Available Block Types
1. Chart Blocks
2. Metrics Blocks
3. View Blocks
4. Text Blocks
MCP Server Usage
The SDK includes a Model Context Protocol server for Claude Code integration.
Setup
Add to your ~/.claude.json or Claude Code configuration:
Available MCP Tools
create_dashboard- Create a new dashboardcreate_chart_block- Add chart visualizationscreate_metrics_block- Add KPI metricscreate_view_block- Add table/kanban viewscreate_text_block- Add text contentlist_dashboards- List all dashboardsdelete_dashboard- Remove dashboards
Usage with Claude Code
Claude will use the MCP tools to create the dashboard automatically.
Python SDK
The project includes a comprehensive Python SDK for managing Lark Base data. This allows you to:
Sync External Data: Import data from TikTok Ads, databases, APIs, etc.
Batch Operations: Efficiently create/update thousands of records
Data Transformation: Transform and validate data before loading
Automatic Dashboard Updates: Dashboards automatically reflect data changes
Quick Example
Python SDK Features
Full CRUD operations for tables, fields, and records
Batch operations with automatic pagination
Data validation and transformation utilities
Incremental sync with timestamp tracking
Field mapping for external data sources
Rate limiting and error handling
Comprehensive logging
See
Workflow: Python + TypeScript
Python: Manage data (create tables, sync external sources, batch updates)
TypeScript: Create beautiful dashboards to visualize the data
Automatic: Dashboards update automatically when data changes
Configuration
Client Options
Environment Variables
Advanced Features
Batch Operations
Filtering
Error Handling
API Reference
LarkDashboardClient
createDashboard(dashboard: Dashboard): Promise<string>addBlock(appToken: string, dashboardId: string, block: DashboardBlock): Promise<string>updateBlock(appToken: string, blockId: string, block: Partial<DashboardBlock>): Promise<void>deleteBlock(appToken: string, blockId: string): Promise<void>listBlocks(appToken: string): Promise<DashboardBlock[]>batchCreateBlocks(appToken: string, blocks: DashboardBlock[]): Promise<BatchOperationResult[]>
Builders
ChartBlockBuilder- Create chart visualizationsMetricsBlockBuilder- Create KPI metricsViewBlockBuilder- Create data viewsTextBlockBuilder- Create text blocksListBlockBuilder- Create list blocks (2025)TabPageBlockBuilder- Create tab pages (2025)
Examples
See the /examples directory for complete examples:
basic-dashboard.ts- Simple dashboard creationcomplete-dashboard.ts- Full-featured dashboardmulti-source-dashboard.ts- Multiple data sourcesrealtime-dashboard.ts- Real-time data updates
TypeScript Support
The SDK is written in TypeScript and provides comprehensive type definitions:
Requirements
TypeScript/JavaScript
Node.js >= 16.0.0
TypeScript >= 5.0.0 (for TypeScript projects)
Python
Python >= 3.8
See python/requirements.txt for dependencies
Troubleshooting
Common Issues
Authentication Errors
Verify your LARK_API_KEY is correct
Check API key permissions in Lark admin console
Ensure region matches your Lark workspace ('sg', 'cn', or 'us')
Network Errors
Check firewall settings
Verify network connectivity to Lark API
Try increasing timeout in client config
Validation Errors
Ensure required fields are provided
Check data types match API expectations
Verify field names exist in your Lark tables
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE file for details.
Support
GitHub Issues: https://github.com/hypelab/hype-dash/issues
Email: dev@hypelab.com
Changelog
See CHANGELOG.md for version history and updates.