EDS Block Analyser MCP Server
Provides UI architecture analysis for converting Figma designs or web pages into reusable UI code blocks with effort estimation in CSV format.
README
EDS Block Analyser MCP Server
A Model Context Protocol (MCP) server that provides UI architecture analysis for converting Figma designs or web pages into reusable UI code blocks.
What it does
This MCP server provides a single tool that returns a comprehensive UI architect prompt for analyzing and estimating the effort required to convert Figma designs or web pages into modular, reusable UI blocks. The prompt guides AI assistants to perform thorough analysis focusing on component structure, effort estimation, and implementation approach.
Features
- Component Analysis: Identifies UI components from Figma designs or web pages
- Effort Estimation: Uses T-shirt sizing (S, M, L, XL, XXL) for complexity assessment
- CSV Output: Provides structured output in CSV format for easy processing
- Performance Focus: Targets Lighthouse score of 100
- Modular Design: Emphasizes reusable, independent UI blocks
- Plain Tech Stack: Focuses on vanilla JavaScript and CSS without frameworks
Installation
Global Installation
npm install -g eds-block-analyser-mcp-server-test
Local Installation
npm install eds-block-analyser-mcp-server-test
Usage
With Claude Desktop
Add this to your Claude Desktop configuration file:
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"eds-block-analyser": {
"command": "npx",
"args": ["eds-block-analyser-mcp-server-test"]
}
}
}
With MCP Client
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
const transport = new StdioClientTransport({
command: 'npx',
args: ['eds-block-analyser-mcp-server-test']
});
const client = new Client({
name: 'my-client',
version: '1.0.0'
}, {
capabilities: {}
});
await client.connect(transport);
// Use the tool
const result = await client.callTool({
name: 'eds_block_analyser'
});
console.log(result.content[0].text);
Available Tools
eds_block_analyser
- Description: Get a UI architect prompt for analyzing and estimating UI block conversion
- Parameters: None
- Returns: A comprehensive prompt for UI block analysis and effort estimation
The prompt includes:
- Role definition as UI Architect
- Task description for Figma/web page conversion
- Context about blocks, tech stack, and performance requirements
- Few-shot examples for guidance
- Strict CSV output format requirements
Output Format
The tool provides a prompt that generates CSV output with the following columns:
- Page Title
- UI Component Name
- Function description
- Tshirt Sizing (S, M, L, XL, XXL)
- Complexity justification
- Other remarks
Development
Clone and Setup
git clone https://github.com/kalimuthu-a/eds-block-analyser-mcp-server-test.git
cd eds-block-analyser-mcp-server-test
npm install
Run Locally
npm start
Test with MCP Inspector
npx @modelcontextprotocol/inspector npx eds-block-analyser-mcp-server-test
Requirements
- Node.js >= 18.0.0
- @modelcontextprotocol/sdk ^0.4.0
License
MIT
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
Support
If you encounter any issues, please file them on the GitHub repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.