Skip to main content
Glama
Image Search MCP Server

Image Search MCP Server

by zopalz
README.md
# Image Search MCP Server

A Model Context Protocol (MCP) server that provides image search capabilities using DuckDuckGo.

## Features

- Search for images using DuckDuckGo's image search
- Returns image URLs, thumbnails, titles, dimensions, and source information
- Easy integration with Claude Desktop and other MCP clients

## Installation

```bash
npm install
npm run build
```

## Usage with Claude Desktop

Add this to your Claude Desktop configuration file:

**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "image-search": {
      "command": "node",
      "args": ["/absolute/path/to/image-search-mcp/dist/index.js"]
    }
  }
}
```

## Available Tools

### search_images

Search for images using DuckDuckGo.

**Parameters:**
- `query` (string, required): The search query for finding images
- `max_results` (number, optional): Maximum number of results to return (default: 10, max: 50)

**Example:**
```json
{
  "query": "sunset landscape",
  "max_results": 5
}
```

**Returns:**
```json
[
  {
    "title": "Beautiful Sunset",
    "url": "https://example.com/image.jpg",
    "thumbnail": "https://example.com/thumb.jpg",
    "width": 1920,
    "height": 1080,
    "source": "https://example.com"
  }
]
```

## Development

```bash
# Watch mode for development
npm run watch

# Build
npm run build

# Run directly
npm run dev
```

## License

MIT

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. An agent can unambiguously select search_images for image search needs.

Naming Consistency5/5

The single tool name follows a clear verb_noun snake_case convention. Although consistency is trivial with one tool, the naming is predictable and readable.

Tool Count3/5

A single tool is borderline thin for an image search server. It covers the core action but leaves no room for related operations such as filtered searches or pagination controls.

Completeness3/5

The surface supports basic image search and returns useful metadata, but notable gaps exist for common image-search workflows such as filtering by size, safe search, or pagination. Agents can perform simple searches but may hit dead ends for more advanced needs.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues