# alttext-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/alttextai/alttext-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 213  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/alttext-mcp

## Description
Generate alt text, translate descriptions, and manage your AltText.ai image library.

## Tools
Capabilities this server exposes over MCP:

- **get_account** — Get your AltText.ai account info including credit balance, usage, and settings
- **update_account** — Update your AltText.ai account settings (name, webhook URL, notification email)
- **generate_alt_text** — Generate AI-powered alt text for an image URL. Returns the result synchronously (may take a few seconds). Uses account credits; additional languages and image conversion can increase the total. Can overwrite existing alt text when requested.
- **generate_alt_text_from_file** — Generate alt text from a local image file. Reads a file on the MCP server machine and uploads it to AltText.ai. Uses account credits; additional languages and image conversion can increase the total. Can overwrite existing alt text when requested.
- **translate_image** — Add alt text in a new language for an existing image. Uses the asset_id to find the image and generates a translation. Uses account credits for each newly generated language.
- **list_images** — List images in your AltText.ai library with pagination
- **search_images** — Search images by alt text content
- **get_image** — Get details for a specific image by its asset ID
- **update_image** — Update alt text and/or metadata for an existing image
- **delete_image** — Delete an image from your AltText.ai library
- **bulk_create** — Upload a local CSV file from the MCP server machine and queue asynchronous alt-text generation using account credits. The response does not confirm generation completion. CSV should have columns: url (required), asset_id, lang, keywords, tags, metadata (optional).
- **scrape_page** — Find images on a web page and queue alt-text generation jobs. Uses account credits. Images are processed asynchronously; inspect the image library for results.

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

```json
"mcpServers": {
  "alttext-mcp": {
    "command": "npx",
    "args": ["-y","@alttext_ai/alttext-mcp"],
    "env": {
      "ALTTEXT_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `ALTTEXT_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What alttext-mcp does

alttext-mcp exposes the AltText.ai API as tools for image description workflows. Agents can generate alt text from an image URL or a local file, request additional language versions, and manage assets already stored in an AltText.ai library. Account tools provide credit balance, usage, and settings, while library tools support listing, searching, inspection, metadata updates, and deletion.

The server also handles larger jobs. `bulk_create` reads a CSV from the MCP host and queues alt-text generation for its image URLs. `scrape_page` finds images on a web page and queues processing for them. These operations return after the work has been queued, so the image library must be checked later for results.

## How it works

The package runs as a stdio MCP server on the machine that launches the client. It calls the AltText.ai API using the account key supplied in its environment. URL-based generation sends an image URL to the service; file-based generation reads a local image, encodes it, and uploads it. CSV and page-scraping inputs also originate on the MCP host.

Generation and translation use AltText.ai account credits. Requesting multiple languages or image conversion can increase usage, and generation can replace existing alt text when explicitly requested. `translate_image` uses an asset ID to locate an existing image before adding a language. For queued jobs, an accepted request does not indicate that processing is complete; use `list_images` or other library tools to inspect the outcome.

## Setup and configuration

Node.js 22 or newer and an AltText.ai API key are required. Configure the client to launch the published package with `npx`:

```json
{
  "mcpServers": {
    "alttext-ai": {
      "command": "npx",
      "args": ["-y", "@alttext_ai/alttext-mcp"],
      "env": {
        "ALTTEXT_API_KEY": "your-api-key"
      }
    }
  }
}
```

The server uses stdio transport. Configuration locations include `claude_desktop_config.json` for Claude Desktop, `.mcp.json` for Claude Code projects, and the MCP settings in Cursor or Windsurf. `ALTTEXT_API_BASE_URL` can optionally override the default AltText.ai API endpoint.

The `npx -y` setup resolves the package's latest published version at launch. Teams that need reproducible deployments can pin a package version and verify the installed package with `npm audit signatures`.

## Tools and capabilities

- Check account credits, usage, and settings with `get_account`.
- Change the account name, webhook URL, or notification email with `update_account`.
- Generate descriptions from URLs or local images, including multilingual output, keywords, prompts, and character limits.
- Translate existing assets and search or paginate through the image library.
- Update image alt text, tags, or metadata, or delete library assets.
- Queue CSV-based generation and web-page image processing.

## Limitations and notes

All generation and translation work consumes account credits. Local images and CSV files must be readable from the MCP server machine, not only from the user interface. Bulk imports and page scraping are asynchronous, so clients should not treat the initial response as completion. Updates replace the fields supplied, and deletion removes the image from the AltText.ai library. Tool effect annotations describe these operations but do not enforce confirmation.

_Full upstream README: https://allmcps.com/mcp/alttext-mcp/readme_

