Photographi Mcp

io.github.prasadabhishek由 GitHub 账号 prasadabhishek 发布v0.2.6更新于 Oct 28, 2026

Visual Intelligence Command Center: A Local Computer Vision Engine for Photo Libraries

已验证STDIO仅桌面文件与存储媒体与设计

概览

AI 生成的概览

本地计算机视觉 MCP 服务器,让助手按技术质量审查、排序、筛选并索引本地文件夹中的照片。

可以做什么
  • 分析单张照片或整个文件夹的锐度、对焦、曝光、构图与质量告警
  • 对照片排序,例如在连拍中找出技术上最佳的一帧
  • 将照片筛选移入子文件夹,或按分数阈值区分保留与淘汰
  • 提取单张图片或整个文件夹的主色调色板
  • 按物体类别索引画面内容,找出包含指定主体的照片
适用场景
适合让助手整理本地照片库:从连拍中挑出最清晰的一张、剔除模糊或曝光失败的片子,或快速了解某个文件夹的质量与配色。它面向客观技术指标,不做审美判断。
运行要求
作为本地进程运行,从 PyPI 安装,通常用 uvx 启动,因此需要 Python 环境与 uv。分析在用户自己的硬件上完成。未声明需要账号、API 密钥或请求头。
安装前请注意
筛选类工具会把照片移动到子文件夹,所选文件夹中的文件会被改动,运行前请确认目标。README 说明默认收集匿名汇总遥测,不含文件名、路径或 EXIF,可通过环境变量 PHOTOGRAPHI_TELEMETRY_DISABLED 或禁用参数关闭。评分仅基于技术指标,可能把有艺术意图的照片判为较差。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Photographi Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

photographi-mcp

Fast, private, and grounded technical photo analysis for AI applications.

photographi-mcp is an MCP server that enables AI models and LLM-powered tools to perform technical analysis on local photo libraries. It runs computer vision models directly on your hardware (powered by photo-quality-analyzer-core) to evaluate sharpness, focus, and exposure—enabling capabilities like automated culling, burst ranking, and metadata indexing without requiring a cloud upload.

⚡ Why photographi?

  • Technical First: Purpose-built for objective metrics (sharpness, lighting, focus). It provides technical data for evaluating image quality.
  • Token Efficient: Save model context by pre-filtering technical metadata locally. Only the most relevant insights are sent to the AI application, keeping sessions fast and lean.
  • Privacy First: All analysis happens 100% locally on your machine.
  • Low Latency: Built for efficient processing, allowing for rapid ranking and technical feedback on local photo folders.

👁️ What It Analyzes

  • Smart Focus: Detects subjects and verifies they're sharp
  • Exposure: Catches blown highlights and blocked shadows
  • Gear-Aware: Knows your lens's sweet spot for optimal sharpness
  • Composition: Evaluates framing and subject placement
  • Quality Alerts: Flags motion blur, diffraction, high ISO noise

[!NOTE] Technical vs. Artistic: This tool is strictly objective. It evaluates photos based on technical metrics and computer vision (sharpness, exposure, noise, etc.). It does not understand artistic intent, aesthetics, or "vibe." A blurry, underexposed photo may be an artistic masterpiece, but photographi will correctly flag it as technically poor.

For the science and math behind it, see the Technical Documentation.


📸 See It In Action

Here are real examples from actual photo analysis:

Example 1: Excellent Photo

[Best Shot]

json
{  "overallConfidence": 0.89,  "judgement": "Excellent",  "keyMetrics": {    "sharpness": 0.94,    "exposure": 0.87,    "composition": 0.85  }}

Verdict: Tack sharp on subject, well exposed, strong composition.


Example 2: Poor Photo

[Worst Shot]

json
{  "overallConfidence": 0.20,  "judgement": "Very Poor",  "keyMetrics": {    "sharpness": 0.30,    "focus": 0.07,    "exposure": 0.0  }}

Verdict: Missed focus on subject, severe underexposure/black clipping, and excessive headroom.


🛠️ Tools (MCP)

photographi-mcp enables AI models to perform deep technical audits through these standardized tools:

ToolAI "Intent" ExampleAction / Insight Provided
analyze_photo"Is this dog photo sharp enough for a print?"Full technical audit of sharpness, focus, and lighting.
analyze_folder"How's the overall quality of my 'Vacation' folder?"Statistical summary identifying the best/worst image groups.
rank_photographs"Find the best shot in this burst of the cake."Ranks files by technical perfection to find the "hero" frame.
cull_photographs"Move all the blurry photos to a junk folder."Automatically cleans up failed shots into a subfolder.
threshold_cull"Strictly separate keepers using a score of 0.7."Binary sorting to isolate professional-grade assets.
get_color_palette"What colors are in this sunset for my website?"Extracts hexadecimal codes for dominant image aesthetics.
get_folder_palettes"Generate a moodboard from my 'Forest' shoot."Batch color extraction for an entire folder.
get_scene_content"Which photos contain a 'cat' or 'mountain'?"Rapid content indexing based on 80+ object categories.

Full API Reference


🚀 Get Started

Claude CLI (Fastest)

bash
claude mcp add --scope user photographi uvx photographi-mcp

Claude Desktop (macOS)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "photographi": {      "command": "uvx",      "args": ["photographi-mcp"]    }  }}

GitHub Copilot CLI

Add to ~/.config/github-copilot/config.json:

json
{  "mcp_servers": {    "photographi": {      "command": "uvx",      "args": ["photographi-mcp"]    }  }}

🔒 Privacy & Telemetry

photographi is built on a Privacy-First philosophy.

  • Anonymized Aggregates Only: We never collect filenames, paths, or EXIF data.
  • Total Transparency: Audit our collection logic directly in analytics.py.
  • Opt-Out: Set the environment variable PHOTOGRAPHI_TELEMETRY_DISABLED=1 or use the --disable-telemetry flag.

📖 Documentation


[License: MIT] [MCP Protocol] [图片] [Python 3.10+]

Built with ❤️ for photographers

来源:README.md,提交 9a8fbb8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.6最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分