get_emotion_tokensLABSCO SUMMARY
Tokens in, then a score on the way out.
The loop is what makes this more than a palette generator: fetch tokens for the feeling you want, generate the page against them, then run the markup back through scoring — which includes an accessibility dimension — before you accept it. The four token tools work with no credentials at all, so you can try the token half before wiring up any keys.
What it is
An MCP server you run locally that maps 6 emotions — trust, excitement, calm, luxury, innovation and energy — onto complete design systems, derived from CSS collected across 300+ award-winning sites. An assistant queries it for tokens instead of inventing hex codes.
What you get
- Tools that need no key, built on data bundled in the server:
get_emotion_tokensfor CSS custom properties,get_typography,get_animation_tokensfor GSAP, CSS and spring parameters, andget_color_palette, a five-colour palette extended with a matching scheme from The Color API score_htmlgrades generated markup against a target emotion across aesthetic, emotion, technical and accessibility dimensions and returns a composite score;search_similar_designsfinds comparable designs in a design database- Tools that need third-party keys:
analyze_reference_urlextracts tokens from any URL in W3C DTCG format,analyze_visual_designcombines screenshot colour analysis with CSS,analyze_brand_voicereads emotion out of text, andgenerate_hero_imageproduces a matched image - 10 tools in total
Requirements
Python 3.10 or later. Clone the repository, pip install -r requirements.txt, then run python3 mcp-servers/neuria/server.py, which serves SSE at http://127.0.0.1:8000/sse; the hosted endpoint in the README no longer resolves. The four token tools need no key; get_color_palette also reaches The Color API over the internet. search_similar_designs needs a Supabase database you build and fill yourself, reached through SUPABASE_URL and SUPABASE_SERVICE_KEY (the server reads that name, not the SUPABASE_KEY in .env.example); the repository's migrations do not create the search function it calls, and without a database it only ranks the other emotions by similarity. score_html needs the scoring API from pipeline/api_server.py running at NEURIA_API_BASE, with ANTHROPIC_API_KEY set; both servers default to port 8000, so move one. The four advanced tools each require your own third-party credentials: FIRECRAWL_API_KEY, SCREENSHOTONE_API_KEY with IMAGGA_API_KEY and IMAGGA_API_SECRET, HUME_API_KEY, and THREEDAI_API_KEY for 3D AI Studio. MIT licensed.
Setup effort
Build from source — git clone https://github.com/kosukeuemura0220-del/neuria-agent.git
USE CASES
Getting a landing page that does not look generated
Pull the emotion's colour, type and motion tokens first, build against those variables, then score the result before you ship.
Matching a reference site's feel
Extract design tokens from the URL you admire, read the dominant emotion it scores as, and pull the matching system.
Picking a palette for a specific industry
Ask for the emotion plus the industry and get a five-colour palette with a harmonious scheme around it.
10 tools
Listed in project docs. Your client may show a different list.
search_similar_designsget_color_paletteget_typographyscore_htmlgenerate_hero_imageanalyze_reference_urlget_animation_tokensanalyze_visual_designanalyze_brand_voiceBEFORE YOU INSTALL
What to know first
Tools you get
10 tools named in the project's documentation.
Requires
Python 3.10 or later with pip
Optional
- ANTHROPIC_API_KEY in your environment
- SUPABASE_URL in your environment
- SUPABASE_SERVICE_KEY in your environment
- FIRECRAWL_API_KEY in your environment
- SCREENSHOTONE_API_KEY in your environment
- IMAGGA_API_KEY in your environment
- IMAGGA_API_SECRET in your environment
- HUME_API_KEY in your environment
- THREEDAI_API_KEY in your environment
Where it runs
All 3 documented clients run the server on your machine.
INSTALLATION
Connect your client
This one is built from source rather than installed with a single command.
Server setup
git clone https://github.com/kosukeuemura0220-del/neuria-agent.git
cd neuria-agent
pip install -r requirements.txt
cp .env.example .env
python3 mcp-servers/neuria/server.pyMCP Clients
Claude Code, Cursor
{
"mcpServers": {
"neuria": {
"type": "sse",
"url": "http://127.0.0.1:8000/sse"
}
}
}Windsurf
{
"mcpServers": {
"neuria": {
"type": "sse",
"serverUrl": "http://127.0.0.1:8000/sse"
}
}
}