Skip to main content
Glama
kalimuthu-a

EDS Block Analyser MCP Server

by kalimuthu-a

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.

Related MCP server: Figma MCP Server by Bao To

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

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Submit a pull request

Support

If you encounter any issues, please file them on the GitHub repository.

Available Tools

1 tool
eds_block_analyserB

Get a UI architect prompt for analyzing and estimating UI block conversion from Figma designs or web pages

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of disclosing behavior. It only says a prompt is returned; it does not mention whether the operation is read-only, any side effects, or the format/content of the prompt. This is insufficient for a tool with no annotation support.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is concise and front-loaded. It conveys the core purpose without any fluff or redundant information, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple with no parameters and no output schema. The description states what it produces (a prompt), but the term 'UI block conversion' is ambiguous and not explained. Given the lack of additional structure, the description could be slightly more detailed about the nature of the prompt or expected usage, resulting in a minimally adequate score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the schema coverage is 100% (empty). According to the rubric, a 0-parameter tool gets a baseline of 4. The description does not add parameter details, but none are needed given the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Get' and identifies the resource as a 'UI architect prompt' for analyzing and estimating UI block conversion. It clearly states the tool's function, though 'UI block conversion' is somewhat specialized and could be clearer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit usage guidance is provided, but the purpose is implied: you would use this tool when you need a UI architect prompt for UI block conversion. With no sibling tools or alternatives mentioned, explicit when/when-not guidance is not critical, but it would still be helpful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.1
    • First observededs_block_analyser

TDQS

A3.7/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no ambiguity or overlap. The tool's purpose is clearly defined and distinct from any potential alternatives.

Naming Consistency5/5

The single tool name follows a descriptive pattern and has no conflicting conventions. Consistency is trivially maintained with one tool.

Tool Count3/5

The server has only one tool, which feels thin for a typical MCP server. While the tool is non-trivial and serves a specific purpose, the limited scope makes the count borderline.

Completeness5/5

The tool fully addresses its stated purpose of generating a UI architect prompt for UI block analysis and estimation. There are no obvious gaps or missing operations for this narrow domain.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Analyzes React component changes by performing structural analysis and generating visual diffs to identify pixel-level differences. It integrates with Figma to validate implementation compliance against design specifications and automates component reviews across git branches.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to extract design systems, analyze components, and maintain design-code consistency from Figma files, providing intelligent component analysis and accessibility compliance.
    150 npm
    30
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Converts Figma designs into structured code context with token-aware styling, enabling AI agents to generate production-level frontend code.
    1
    14 npm
    MIT