Logo.dev MCP

io.github.pvliesdonk由 GitHub 帳號 pvliesdonk 發布v1.1.0更新於 Oct 25, 2026

Look up company logos and brand data via the logo.dev API.

發布方自己的服務:Official Logo.dev MCP

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過 logo.dev API 取得公司標誌並查詢品牌資料。

可以做什麼
依網域、股票代號、ISIN、加密貨幣代號或品牌名稱取得公司標誌,回傳圖片與 URL,並支援尺寸、格式、主題與備援選項(get_logo)。將品牌或公司名稱解析為候選網域與標誌 URL(search_brands)。查詢某網域的結構化公司資料,例如名稱、簡介、品牌色與社群連結(describe_company)。取得完整品牌資料,包括標誌、品牌標記、橫幅與配色(get_brand)。確認已部署伺服器的版本(get_server_info)。
適用情境
適合助理在文件、網站或設計工作中需要公司標誌或品牌資訊時使用,也適合把品牌名稱解析為網域。工具只會依你提供的 logo.dev 金鑰註冊,因此至少需要一組 logo.dev 金鑰。
執行需求
以 stdio 在本機執行,通常透過 uvx 從 PyPI 套件啟動,或使用 Docker 映像;也提供 HTTP 傳輸。get_logo 需要 logo.dev 可公開金鑰(LOGODEV_MCP_PUBLISHABLE_KEY),其他品牌工具需要私密金鑰(LOGODEV_MCP_SECRET_KEY),至少需設定一組。需要連線至 logo.dev 的網路。HTTP 部署可選用 bearer token 或 OIDC 設定。
安裝前請注意
需要 logo.dev API 金鑰,屬於憑證;私密金鑰可解鎖付費方案工具。呼叫會計入你的 logo.dev 方案,describe_company 與 get_brand 需要付費或 Pro/Enterprise 方案。啟動時伺服器會探測 logo.dev 以判斷方案權限,並在本機快取結果。品牌與網域查詢會傳送給 logo.dev。選用 OIDC 設定包含用戶端密鑰與 JWT 簽章金鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Logo.dev MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Logo.dev MCP

[CI] [codecov] [PyPI] [Python] [License] [Docker] [Docs] [llms.txt] [Template]

Look up company logos and brand data via the logo.dev API.

Documentation | Config wizard | PyPI | Docker

Features

  • Logo retrieval (get_logo) — fetch a company logo as an image plus URL by domain, ticker, ISIN, crypto symbol, or brand name; supports size, format, theme, greyscale, retina, and fallback options. Requires a publishable key (pk_…).
  • Brand search (search_brands) — resolve a brand or company name to candidate domains and logo URLs via typeahead or exact-match. Requires a secret key (sk_…).
  • Company description (describe_company) — return structured company data (name, description, brand colours, social links) for a domain. Requires a secret key (sk_…).
  • Full brand profile (get_brand) — return the complete brand profile (logo, brandmark, banners, colours, description) for a domain — a richer superset of describe_company. Requires a secret key (sk_…).
  • Graceful degradation — tools are registered only when the corresponding API key is present; missing-key tools are hidden from the MCP client rather than registered and failing at call time.

What you can do with it

With this server mounted in an MCP client (Claude, etc.), you can:

  • Fetch a logo — "Get the logo for stripe.com." Uses get_logo (publishable key required).
  • Identify a brand's domain — "What domain is behind the brand 'Stripe'?" Uses search_brands (secret key required).
  • Look up company info — "What colours does Stripe use in their branding?" Uses describe_company (secret key required).
  • Get the full brand kit — "Show me the complete brand profile for shopify.com." Uses get_brand (secret key required).
  • Logo by ticker — "Fetch the logo for AAPL." Uses get_logo with identifier_type=ticker (publishable key required).

Installation

From PyPI

bash
pip install logodev-mcp

If you add optional extras via the PROJECT-EXTRAS-START / PROJECT-EXTRAS-END sentinels in pyproject.toml, document them below:

From source

bash
git clone https://github.com/pvliesdonk/logodev-mcp.gitcd logodev-mcpuv sync --all-extras --all-groups

Docker

bash
docker pull ghcr.io/pvliesdonk/logodev-mcp:latest

A compose.yml ships at the repo root as a starting point — copy .env.example to .env, edit, and docker compose up -d.

To attach a remote Python debugger (development only — the protocol is unauthenticated), see Remote debugging.

Linux packages (.deb / .rpm)

Download .deb or .rpm packages from the GitHub Releases page. Both install a hardened systemd unit; env configuration is sourced from /etc/logodev-mcp/env (copy from the shipped /etc/logodev-mcp/env.example).

Claude Desktop (.mcpb bundle)

Download the .mcpb bundle from the GitHub Releases page and double-click to install, or run:

bash
mcpb install logodev-mcp-<version>.mcpb

Claude Desktop prompts for required env vars via a GUI wizard — no manual JSON editing needed.

For manual Claude Desktop configuration and setup options, see Claude Desktop deployment.

Quick start

bash
logodev-mcp serve                                # stdio transportlogodev-mcp serve --transport http --port 8000   # streamable HTTP

For library usage (embedding the domain logic without the MCP transport), import from the logodev_mcp package directly — see the project's domain modules under src/logodev_mcp/ for entry points.

Server info

The server registers a built-in get_server_info tool (via fastmcp_pvl_core.register_server_info_tool) so operators can confirm the deployed version with a single MCP call. The default response carries server_name, server_version, and core_version. Servers that talk to a remote upstream wire upstream version reporting inside the DOMAIN-UPSTREAM-START / DOMAIN-UPSTREAM-END sentinel in src/logodev_mcp/server.py — see CLAUDE.md for the wiring pattern.

Configuration

Core environment variables shared across all fastmcp-pvl-core-based services:

VariableDefaultDescription
FASTMCP_LOG_LEVELINFOLog level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR). The -v CLI flag overrides to DEBUG.
FASTMCP_ENABLE_RICH_LOGGINGtrueSet to false for plain / structured JSON log output.
LOGODEV_MCP_KV_STORE_URLfile:///data/statePersistent-state backend URL for pvl-core subsystems — file:///path (survives restarts), memory:// (dev/ephemeral).

Domain-specific variables go below under Domain configuration.

Authentication

Callers authenticate via a bearer token or OIDC (mutually exclusive). See the Authentication guide for setup, mapped multi-subject tokens, OIDC, and troubleshooting.

Post-scaffold checklist

After copier copy and gh repo create --push:

  1. Fill in the DOMAIN blocks in this README (Features, What you can do with it, Domain configuration, Key design decisions) and in CLAUDE.md.
  2. Configure GitHub secrets — see below.
  3. Install dev + docs tooling: uv sync --all-extras --all-groups.
  4. Install pre-commit hooks: uv run pre-commit install.
  5. Run the gate locally: uv run pytest -x -q && uv run ruff check --fix . && uv run ruff format . && uv run mypy src/ tests/.
  6. Push the first commit — CI should be green.

GitHub secrets

CI workflows reference three repository secrets. Configure them via Settings → Secrets and variables → Actions or with gh secret set:

SecretUsed byHow to generate
RELEASE_TOKENrelease.yml, copier-update.ymlFine-grained PAT at https://github.com/settings/personal-access-tokens/new with contents: write and pull_requests: write (the copier-update cron opens PRs). Scoped to this repo.
CODECOV_TOKENci.ymlhttps://codecov.io — sign in with GitHub, add the repo, copy the upload token from the repo settings page.
CLAUDE_CODE_OAUTH_TOKENclaude.yml, claude-code-review.ymlRun claude setup-token locally and paste the result.
bash
gh secret set RELEASE_TOKENgh secret set CODECOV_TOKENgh secret set CLAUDE_CODE_OAUTH_TOKEN

GITHUB_TOKEN is auto-provided — no action needed.

Local development

The PR gate (matches CI):

bash
uv run pytest -x -q                                  # testsuv run ruff check --fix . && uv run ruff format .    # lint + formatuv run mypy src/ tests/                              # type-check

Pre-commit runs a subset of the gate on each commit; see .pre-commit-config.yaml for details, or CLAUDE.md for the full Hard PR Acceptance Gates.

Troubleshooting

Moving a scaffolded project

uv sync creates .venv/bin/* scripts with absolute shebangs pointing at the venv Python. If you move the repo after scaffolding (mv /old/path /new/path), uv run pytest fails with ModuleNotFoundError: No module named 'fastmcp' because the stale shebang resolves to a different interpreter than the venv's site-packages.

Fix:

bash
rm -rf .venvuv sync --all-extras --all-groups

uv run python -m pytest also works as a one-shot workaround (bypasses the stale entry-script shim).

uv.lock refresh after copier update

When copier update introduces new dependencies (e.g. a new extra added to pyproject.toml.jinja), CI runs uv sync --frozen which fails against a stale lockfile. Run uv lock locally and commit the refreshed uv.lock alongside accepting the copier-update PR.

Links

Domain configuration

Domain environment variables use the LOGODEV_MCP_ prefix:

VariableDefaultRequiredDescription
LOGODEV_MCP_PUBLISHABLE_KEY—Conditionallogo.dev publishable key (pk_…). Enables the get_logo tool. Omit to hide that tool.
LOGODEV_MCP_SECRET_KEY—Conditionallogo.dev secret key (sk_…). Enables search_brands, describe_company, and get_brand. Omit to hide those tools.
LOGODEV_MCP_DETECT_PLANtrueNoProbe describe/brand entitlement on startup and hide the tools the plan does not allow. Set false to skip probing and register every secret-key tool.
LOGODEV_MCP_STATE_DIR/data/stateNoDirectory for the cached plan-detection verdict (entitlements.json).

At least one key must be set for any API tool to be registered. Both keys may be set simultaneously to enable all four tools.

Which tool each logo.dev plan unlocks (get_logo/search_brands on free, describe_company on any paid plan, get_brand on Pro/Enterprise) is documented in the plans and capabilities matrix.

Key design decisions

  • Two-key gating — LOGODEV_MCP_PUBLISHABLE_KEY controls get_logo; LOGODEV_MCP_SECRET_KEY controls search_brands, describe_company, and get_brand. Tools for a missing key are never registered, not merely guarded at call time.
  • Plan detection hides unentitled tools — describe_company needs a paid plan and get_brand needs Pro/Enterprise. logo.dev has no plan endpoint, so on startup the server probes each on logo.dev and disables the tool on a 401/403. search_brands is never gated; any ambiguous probe result (timeout, 5xx, 404, 429) fails open and keeps the tool enabled. The verdict is cached under LOGODEV_MCP_STATE_DIR for 7 days (re-probed on key rotation). Disable with LOGODEV_MCP_DETECT_PLAN=false.
  • Domain logic stays FastMCP-free — src/logodev_mcp/domain.py contains the Service class and LogoDevError with no FastMCP imports; src/logodev_mcp/tools.py is the sole FastMCP layer.
  • Errors surface as strings — LogoDevError raised in domain code is caught in each tool wrapper and returned as a plain text message so the MCP client sees a readable error, not a server exception.
  • Logo tool returns URL + image — get_logo returns both the CDN URL (text) and the image bytes (image content block) unless url_only=True, in which case only the URL string is returned.

來源:README.md,提交 c5333c9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Logo 整合