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

@haisto/vision-mcp

v0.0.2

Published

Multi-model vision understanding MCP server. Supports OpenAI-compatible and Anthropic vision models.

Readme

vision-mcp

Multi-model vision understanding MCP (Model Context Protocol) server. Supports OpenAI-compatible and Anthropic vision models for image analysis, text extraction, UI comparison, diagram understanding, and more.

Features

  • Multi-model support: OpenAI-compatible APIs and Anthropic Claude
  • Image analysis: General image understanding, OCR/text extraction
  • UI analysis: Convert UI screenshots to code/prompts/specs, diff check
  • Error diagnosis: Analyze error screenshots and stack traces
  • Technical diagram analysis: Architecture diagrams, flowcharts, UML, ER diagrams
  • Data visualization analysis: Charts, graphs, dashboards
  • Video analysis: Analyze video content
  • Streaming + auto-fallback: Uses streaming API, falls back to non-streaming on failure

Tools

| Tool | Description | |------|-------------| | ui_to_artifact | Convert UI screenshots into code, prompts, or design specs | | text_extraction | OCR and text extraction from screenshots | | error_diagnosis | Analyze error messages and stack traces | | diagram_analysis | Understand architecture diagrams, flowcharts, UML | | data_viz_analysis | Extract insights from charts and dashboards | | ui_diff_check | Compare two UI screenshots for visual differences | | general_image_analysis | General-purpose image understanding | | video_analysis | Analyze video content |

Quick Start

1. Install

npm install -g @haisto/vision-mcp

Or run directly without installing:

npx -y @haisto/vision-mcp

2. Configure

Set environment variables for your chosen provider:

OpenAI-compatible (default):

MODEL_PROVIDER=openai
OPENAI_API_KEY=sk-...
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o

Anthropic:

MODEL_PROVIDER=anthropic
ANTHROPIC_API_KEY=sk-ant-...
ANTHROPIC_MODEL=claude-sonnet-4-20250514

Common settings:

MAX_TOKENS=32768
TEMPERATURE=0.8
TOP_P=0.6
FILE_LOG_ENABLED=true           # optional, enable file logging
FILE_LOG_PATH=/path/to/log.log  # optional, default ~/.vision-mcp/

3. Add to MCP Client

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "vision-mcp": {
      "command": "node",
      "args": ["build/index.js"],
      "env": {
        "OPENAI_API_KEY": "sk-...",
        "OPENAI_MODEL": "gpt-4o"
      }
    }
  }
}

Development

git clone https://github.com/haisto/vision-mcp.git
cd vision-mcp
npm install
npm run build
npm run debug           # debug with --inspect

Environment Variables

| Variable | Default | Required | Description | |----------|---------|----------|-------------| | MODEL_PROVIDER | openai | No | openai or anthropic | | OPENAI_API_KEY | — | No | API key for OpenAI-compatible provider | | OPENAI_BASE_URL | https://api.openai.com/v1 | No | Base URL for OpenAI-compatible API | | OPENAI_MODEL | gpt-4o | No | Model name for OpenAI-compatible | | ANTHROPIC_API_KEY | — | No | API key for Anthropic | | ANTHROPIC_BASE_URL | https://api.anthropic.com/v1 | No | Base URL for Anthropic API | | ANTHROPIC_MODEL | claude-sonnet-4-20250514 | No | Model name for Anthropic | | MAX_TOKENS | 32768 | No | Maximum output tokens | | TEMPERATURE | 0.8 | No | Sampling temperature | | TOP_P | 0.6 | No | Nucleus sampling parameter | | FILE_LOG_ENABLED | false | No | Enable file logging | | FILE_LOG_PATH | — | No | Custom log file path |

License

MIT