NM

nighttrek/moondream-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

19 stars 10 forks Качество 65 Тренд 22Apache-2.0

A powerful Model Context Protocol (MCP) server that brings advanced image analysis capabilities to your applications using the Moondream vision model.

Обзор

A powerful Model Context Protocol (MCP) server that brings advanced image analysis capabilities to your applications using the Moondream vision model. This server seamlessly integrates with Claude and Cline, providing a bridge between AI assistants and sophisticated computer vision tasks. This IS NOT an offical Moondream package. All credit to moondream.ai for making the best open source vision model that you can run on consumer hardware. - 🖼️ : Generate natural language descriptions of images - 🔍 : Identify and locate specific objects within images - 💭 : Ask questions about image content and receive intelligent responses - 🚀 : Uses quantized 8-bit models for efficient inference - 🔄 : Handles model downloading and environment setup - 🛠️ : Standardized protocol for seamless tool usage - : Automatically generate descriptions for image content - : Create alt text for visually impaired users - : Extract specific information from images through targeted questions - : Confirm the...

README

Показан фрагмент оригинального README. Открыть оригинал.

🌙 Moondream MCP Server

A powerful Model Context Protocol (MCP) server that brings advanced image analysis capabilities to your applications using the Moondream vision model. This server seamlessly integrates with Claude and Cline, providing a bridge between AI assistants and sophisticated computer vision tasks.

This IS NOT an offical Moondream package. All credit to moondream.ai for making the best open source vision model that you can run on consumer hardware.

✨ Features

  • 🖼️ Image Captioning: Generate natural language descriptions of images
  • 🔍 Object Detection: Identify and locate specific objects within images
  • 💭 Visual Question Answering: Ask questions about image content and receive intelligent responses
  • 🚀 High Performance: Uses quantized 8-bit models for efficient inference
  • 🔄 Automatic Setup: Handles model downloading and environment setup
  • 🛠️ MCP Integration: Standardized protocol for seamless tool usage

🎯 Use Cases

  • Content Analysis: Automatically generate descriptions for image content
  • Accessibility: Create alt text for visually impaired users
  • Data Extraction: Extract specific information from images through targeted questions
  • Object Verification: Confirm the presence of specific objects in images
  • Scene Understanding: Analyze complex scenes and their components

🚀 Quick Start

Prerequisites

  • Node.js v18 or higher
  • Python 3.8+
  • UV package manager (automatically installed if not present)

Installation

  1. Clone and Setup
git clone 
cd moondream-server
pnpm install
  1. Build the Server
pnpm run build

The server handles the rest automatically:

  • Creates Python virtual environment
  • Installs UV if not present
  • Downloads and sets up the Moondream model
  • Manages the model server process

Integration with Claude/Cline

Add to your MCP settings file (claude_desktop_config.json or cline_mcp_settings.json):

{
  "mcpServers": {
    "moondream": {
      "command": "node",
      "args": ["/path/to/moondream-server/build/index.js"]
    }
  }
}

🛠️ Available Tools

analyze_image

Powerful image analysis tool with multiple modes:

{
  "name": "analyze_image",
  "arguments": {
    "image_path": string,  // Path to image file
    "prompt": string       // Analysis command
  }
}

Prompt Types:

  • "generate caption" - Creates natural language description
  • "detect: [object]" - Finds specific objects (e.g., “detect: car”)
  • "[question]" - Answers questions about the image

Examples:

// Image Captioning
{
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "moondream": { "command": "node", "args": ["/path/to/moondream-server/build/index.js"] } } }