npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@alttext_ai/alttext-mcp

v1.0.2

Published

MCP server for AltText.ai — generate alt text, manage image libraries, and audit web pages for accessibility

Readme

AltText.ai MCP Server

An MCP server that lets AI assistants generate alt text, manage image libraries, and audit web pages for accessibility using the AltText.ai API.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Setup

Requirements: Node.js 18+ and an AltText.ai API key

Add the server to your MCP client configuration:

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

Where to add this:

| Client | Config file | |--------|-------------| | Claude Desktop | claude_desktop_config.json | | Claude Code | .mcp.json in your project root | | Cursor | MCP settings in the Cursor preferences | | Windsurf | MCP settings in the Windsurf preferences |

Tools

Account Management

| Tool | Description | |------|-------------| | get_account | Check your credit balance, usage, and account settings. | | update_account | Update account name, webhook URL, or notification email. |

Generate Alt Text

| Tool | Description | |------|-------------| | generate_alt_text | Generate alt text for an image URL. Supports multilingual output, custom prompts, keywords, and character limits. Costs 1 credit. | | generate_alt_text_from_file | Generate alt text from a local image file. Automatically base64-encodes and uploads. Costs 1 credit. | | translate_image | Add alt text in a new language for an existing image (by asset_id). Costs 1 credit. |

Manage Image Library

| Tool | Description | |------|-------------| | list_images | List images in your library with pagination. | | search_images | Search your image library by alt text content. | | get_image | Get details for a specific image by asset ID. | | update_image | Update alt text, tags, or metadata for an image. | | delete_image | Delete an image from your library. |

Bulk Operations

| Tool | Description | |------|-------------| | bulk_create | Bulk generate alt text from a CSV file with image URLs and optional metadata. | | scrape_page | Scan a web page, find images missing alt text, and queue generation. Results are async -- use list_images to check progress. |

Example Prompts

Once configured, just ask your AI assistant:

Account & Credits

  • "How many credits do I have left?"
  • "Update my webhook URL to https://example.com/webhook"

Generate Alt Text

  • "Generate alt text for https://example.com/photo.jpg"
  • "Generate alt text for this image" (with local file)
  • "Generate alt text in French and Spanish for this image"
  • "Translate image abc123 to German"

Manage Library

  • "Search my images for 'product photo'"
  • "List my images"
  • "Get details for image abc123"
  • "Update the alt text for asset abc123"
  • "Delete image xyz789"

Bulk Operations

  • "Scan https://example.com for images missing alt text"
  • "Process this CSV file of image URLs" (bulk_create)

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | ALTTEXT_API_KEY | Yes | Your AltText.ai API key | | ALTTEXT_API_BASE_URL | No | Override the API base URL (default: https://alttext.ai/api/v1) |

Development

npm install
npm run build
npm test
npm run lint

Tests use mocked fetch calls -- no API key or network access needed.

License

MIT