AltTextGeneratorAI MCP Server
The AltTextGeneratorAI MCP server lets you generate SEO-friendly alt text for images and audit web pages for missing alt text.
Generate alt text for a public image URL, optionally in 130+ languages (1 credit).
Generate alt text for a local image file (JPEG, PNG, GIF, WebP, up to 3 MB) within allowed folders (1 credit).
Audit a public web page for images with missing or empty alt attributes (free).
Optionally generate suggested alt text for images found on a page, up to 25 images (1 credit per image).
Check remaining AltTextGeneratorAI credits (free).
Enables AI assistants to generate SEO-friendly, accessible alt text for images and audit Contentstack pages for images missing alt text, via the AltTextGeneratorAI service used in Contentstack.
Enables AI assistants to generate SEO-friendly, accessible alt text for images and audit DatoCMS pages for images missing alt text, via the AltTextGeneratorAI service used in DatoCMS.
Enables AI assistants to generate SEO-friendly, accessible alt text for images and audit Shopify pages for images missing alt text, via the AltTextGeneratorAI service used in Shopify.
Enables AI assistants to generate SEO-friendly, accessible alt text for images and audit WordPress pages for images missing alt text, via the AltTextGeneratorAI service used in WordPress.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AltTextGeneratorAI MCP Server write alt text for https://example.com/photo.jpg in Spanish"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AltTextGeneratorAI MCP server
Let your AI assistant write SEO-friendly, accessible alt text for images, and find the images that are missing alt text on any web page. It works with AltTextGeneratorAI.com, the AI alt text service used in Shopify, WordPress, DatoCMS, Contentstack, Chrome and 30+ other tools.
Ask your assistant things like:
"Write alt text for https://example.com/photo.jpg in Spanish."
"Write alt text for the image at ~/Desktop/product.png."
"Scan https://mystore.com/products/shoes and tell me which images have no alt text."
"Scan that page and write alt text for the first 10 images that are missing it."
"How many credits do I have left?"
Get an API key
Create a free account at alttextgeneratorai.com/dashboard and copy your API key. New accounts get free credits. Credits are a one-time purchase, never expire, and are shared with every AltTextGeneratorAI integration.
Related MCP server: AI Image MCP Server
Install
You need Node.js 18 or newer. The server is started on demand with npx, so there is nothing to install by hand.
Claude Desktop
Open Settings > Developer > Edit Config and add:
{
"mcpServers": {
"alttextgeneratorai": {
"command": "npx",
"args": ["-y", "alttextgeneratorai-mcp"],
"env": { "ALTTEXTGENERATORAI_API_KEY": "your_api_key" }
}
}
}Claude Code
claude mcp add alttextgeneratorai --env ALTTEXTGENERATORAI_API_KEY=your_api_key -- npx -y alttextgeneratorai-mcpCursor
Add the same JSON as above to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"alttextgeneratorai": {
"command": "npx",
"args": ["-y", "alttextgeneratorai-mcp"],
"env": { "ALTTEXTGENERATORAI_API_KEY": "your_api_key" }
}
}
}Any other client that supports MCP servers over stdio works the same way: run npx -y alttextgeneratorai-mcp with the ALTTEXTGENERATORAI_API_KEY environment variable.
Tools
Tool | What it does | Credits |
| Writes alt text for an image at a public URL. Optional | 1 |
| Writes alt text for an image file on your computer (JPEG, PNG, GIF or WebP, up to 3 MB). Optional | 1 |
| Reads a web page and lists the images that have no alt attribute, or an empty one. Free. With | 0, or 1 per image with |
| Shows how many credits you have left. | 0 |
Notes:
Languages: pass the language name in English, for example
spanish,french,german,japanese. 130+ are supported. The default is English.Empty alt text (
alt="") is correct for purely decorative images, soaudit_pagereports those separately from images where the attribute is missing.Pages that load images with JavaScript may show fewer images, because the tool reads the page's HTML.
The tool only reads and suggests. It never changes your website. Add the suggested text to your site yourself, or ask your assistant to do it in your code.
Configuration
Variable | Required | Description |
| Yes, for generating and credits | Your API key. |
| No | Folder (or several, separated by |
| No | Override the API address (for testing). Must be https, or http on localhost. Default |
Safety
audit_pageonly reads public web pages. Local and private network addresses (localhost, 192.168.x.x, 10.x.x.x, cloud metadata addresses) are refused, including after redirects. The address is checked at the moment the connection is made, so a hostname cannot point somewhere else the second time.generate_alt_text_from_fileonly reads real images, and only in allowed folders. By default that is your home folder and the temp folder. Choose other folders, or narrow it to one, withALTTEXTGENERATORAI_ALLOWED_DIR. The file's contents are checked, not just its name.Your API key is read from an environment variable, sent only to the AltTextGeneratorAI API over https, and never written to logs. A custom API address must use https.
Error messages are short and never include raw technical output.
Privacy
To write alt text, the server sends your API key, the chosen language and either the image's public address or the image file itself to AltTextGeneratorAI.com. When you give an image address (including with audit_page and generate: true), the AltTextGeneratorAI service downloads that image to describe it, and it only accepts public web addresses. audit_page downloads the page you ask about directly from your computer. Nothing else is sent. See the privacy policy.
Development
npm install
npm run build
npm test # runs the server over stdio against a fake APISupport
support@alttextgeneratorai.com · alttextgeneratorai.com
License
MIT
Available Tools
4 toolsaudit_pageFind images without alt text on a web pageA
Reads a public web page and lists the images that have no alt attribute (missing) or an empty one (empty, which is correct for purely decorative images). This is free by default. Set generate to true to also write suggested alt text for the images found, which uses 1 credit per image.
Inputs: url (required), generate, language, max_images.
check_creditsCheck remaining creditsARead-onlyIdempotent
Shows how many credits are left on the AltTextGeneratorAI account. Each generated alt text uses 1 credit.
Inputs: no named parameters.
generate_alt_textGenerate alt text from an image URLA
Writes SEO-friendly, accessible alt text for one image that is available at a public http(s) URL. Uses 1 credit from the AltTextGeneratorAI account.
Inputs: image_url (required), language.
generate_alt_text_from_fileGenerate alt text from a local image fileA
Writes SEO-friendly, accessible alt text for an image file on this computer (JPEG, PNG, GIF or WebP, up to 3 MB). Uses 1 credit from the AltTextGeneratorAI account.
Inputs: file_path (required), language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct function: URL-based generation, local-file generation, credit checking, and page auditing. The two generation tools are differentiated by input source (public URL vs. local file), which is a clear criterion, though their near-identical names require reading the description to be sure.
All four tools use consistent snake_case with a verb-first pattern (generate_alt_text, generate_alt_text_from_file, check_credits, audit_page). The shared prefix on the two generators is a deliberate, readable grouping rather than an inconsistency.
Four tools is a tight, well-scoped set for an alt-text service; each tool covers a distinct capability and none feels redundant. Nothing appears padded or missing at the structural level.
The surface covers the core lifecycle: generate from URL, generate from file, audit a page for missing/empty alt text, and check remaining credits. Minor gaps exist around batch processing of multiple images or applying suggested alt text back to a page, but agents can work around these via per-image calls.
Maintenance
Related MCP Connectors
Run AI-powered analysis on images including moderation, captioning, tagging, and more.
Audit any site's AI visibility from your assistant: crawler access, rendering, and schema.
Fetch web/social data, screenshots, scrape/extract content, generate images, audit SEO & links.
Image and video AI tools and your own pipelines, run from any AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze images from URLs or local files using xAI's Grok API. Provides detailed image descriptions, technical metadata extraction, and optical character recognition (OCR) capabilities.7-
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered image analysis using OpenAI's Vision API and image generation with DALL-E models. Supports image description, content analysis, comparison, editing, and creating variations with intelligent caching.3MIT

AltText.ai MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI assistants to generate alt text, manage image libraries, and audit web pages for accessibility using the AltText.ai API.12MIT- AlicenseAqualityCmaintenanceAudits images on any public web page to detect oversized images, compare natural vs rendered dimensions, and provide format breakdown, helping AI agents check image performance during development.170 npmMIT