# colorapi [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/pipeworx-io/mcp-colorapi  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1182  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/colorapi

## Description
Color API MCP — wraps thecolorapi.com (free, no auth)

## Tools
Capabilities this server exposes over MCP:

- **identify_color** — Identify a color by hex code (e.g., "#FF5733"). Returns color name, RGB/HSL/HSV/CMYK values, and WCAG contrast ratios for accessibility.
- **generate_scheme** — Generate harmonious color palettes from a seed hex color (e.g., "#3498DB"). Returns complementary, analogous, triadic, or monochromatic schemes with hex codes.
- **convert_color** — Convert between color formats: RGB to hex, HSL, HSV, CMYK. Returns the closest named color for the input values.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "colorapi": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-colorapi"]
  }
}
```

## Documentation

## What colorapi does

colorapi exposes color operations as MCP tools while routing requests through the Pipeworx gateway. The underlying service is thecolorapi.com, a free color API that does not require authentication for basic hosted use. The integration is independent and unofficial.

The server is intended for workflows that need machine-readable color information rather than visual editing. An agent can inspect a supplied hexadecimal color, translate values between color models, or derive a palette from a seed color.

## How it works

A hosted MCP connection can use the scoped endpoint `https://gateway.pipeworx.io/colorapi/mcp`. The endpoint exposes the colorapi tools and also includes shared Pipeworx gateway tools, such as routing and discovery functions. The exact tool scope is reported during MCP initialization.

The full Pipeworx endpoint, `https://gateway.pipeworx.io/mcp`, provides direct access to the broader catalog. Either gateway route can use `ask_pipeworx` to route a natural-language request across the catalog when the request extends beyond color operations.

The npm package, `@pipeworx/mcp-colorapi`, acts as a local stdio bridge. An MCP client launches it with `npx`, and the bridge forwards calls to the hosted colorapi endpoint, so it requires network access and has no offline mode.

## Setup and configuration

For a hosted connection, add the following MCP server entry to a compatible client:

```json
{
  "mcpServers": {
    "colorapi": {
      "url": "https://gateway.pipeworx.io/colorapi/mcp"
    }
  }
}
```

For a local stdio connection, configure the npm package instead:

```json
{
  "mcpServers": {
    "colorapi": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-colorapi"]
    }
  }
}
```

Anonymous npm-bridge usage is limited to 50 calls per day. A free Pipeworx account increases the limit to 200 calls per day; place the resulting key in `PIPEWORX_API_KEY` to authenticate the bridge. Set `PIPEWORX_META_TOOLS=1` when the local connection should also list the shared Pipeworx tools. Requests made through the bridge need network access.

The tools can also be called over HTTP. For example, send a JSON POST to `https://gateway.pipeworx.io/v1/tools/identify_color` with a body such as `{"hex":"FF5733"}`.

## Tools and capabilities

- `identify_color` accepts a hexadecimal color and returns its name, RGB, HSL, HSV, and CMYK representations, along with WCAG contrast ratios.
- `generate_scheme` builds a palette from a seed hex value using complementary, analogous, triadic, or monochromatic relationships. Results include hex codes.
- `convert_color` translates among RGB, hex, HSL, HSV, and CMYK formats and returns the nearest named color for the supplied values.

## Limitations and notes

The npm package is a network-dependent forwarding bridge rather than an offline color library. Anonymous and account-based call limits apply to that route. The hosted pack endpoint lists shared Pipeworx meta-tools in addition to the three color tools, so clients may display more tools than the colorapi-specific set. The project is unofficial and is not affiliated with thecolorapi.com.

_Full upstream README: https://allmcps.com/mcp/colorapi/readme_

