Logo.dev MCP

Registre officiel Marketing et ventes

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

Que pouvez-vous faire avec Logo.dev MCP ?

  • 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.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package logodev-mcp
Claude Code
claude mcp add logo-dev-mcp -e 'FASTMCP_LOG_LEVEL=INFO' -e 'LOGODEV_MCP_SERVER_NAME=logodev-mcp' -e 'LOGODEV_MCP_BEARER_TOKEN=<your logodev_mcp_bearer_token>' -e 'LOGODEV_MCP_AUTH_MODE=<LOGODEV_MCP_AUTH_MODE>' -e 'LOGODEV_MCP_BASE_URL=<LOGODEV_MCP_BASE_URL>' -e 'LOGODEV_MCP_OIDC_CONFIG_URL=<LOGODEV_MCP_OIDC_CONFIG_URL>' -e 'LOGODEV_MCP_OIDC_CLIENT_ID=<LOGODEV_MCP_OIDC_CLIENT_ID>' -e 'LOGODEV_MCP_OIDC_CLIENT_SECRET=<your logodev_mcp_oidc_client_secret>' -e 'LOGODEV_MCP_OIDC_JWT_SIGNING_KEY=<your logodev_mcp_oidc_jwt_signing_key>' -e 'LOGODEV_MCP_OIDC_AUDIENCE=<LOGODEV_MCP_OIDC_AUDIENCE>' -e 'LOGODEV_MCP_OIDC_REQUIRED_SCOPES=openid' -- uvx logodev-mcp==1.1.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "logo-dev-mcp": {
            "command": "uvx",
            "args": [
                "logodev-mcp==1.1.0"
            ],
            "env": {
                "FASTMCP_LOG_LEVEL": "INFO",
                "LOGODEV_MCP_SERVER_NAME": "logodev-mcp",
                "LOGODEV_MCP_BEARER_TOKEN": "<your logodev_mcp_bearer_token>",
                "LOGODEV_MCP_AUTH_MODE": "<LOGODEV_MCP_AUTH_MODE>",
                "LOGODEV_MCP_BASE_URL": "<LOGODEV_MCP_BASE_URL>",
                "LOGODEV_MCP_OIDC_CONFIG_URL": "<LOGODEV_MCP_OIDC_CONFIG_URL>",
                "LOGODEV_MCP_OIDC_CLIENT_ID": "<LOGODEV_MCP_OIDC_CLIENT_ID>",
                "LOGODEV_MCP_OIDC_CLIENT_SECRET": "<your logodev_mcp_oidc_client_secret>",
                "LOGODEV_MCP_OIDC_JWT_SIGNING_KEY": "<your logodev_mcp_oidc_jwt_signing_key>",
                "LOGODEV_MCP_OIDC_AUDIENCE": "<LOGODEV_MCP_OIDC_AUDIENCE>",
                "LOGODEV_MCP_OIDC_REQUIRED_SCOPES": "openid"
            }
        }
    }
}

Variables d'environnement

  • FASTMCP_LOG_LEVEL Log level (DEBUG, INFO, WARNING, ERROR)
  • LOGODEV_MCP_SERVER_NAME MCP server name shown to clients
  • LOGODEV_MCP_BEARER_TOKEN secret Bearer token for authentication
  • LOGODEV_MCP_AUTH_MODE OIDC auth mode: 'remote' (JWKS validation) or 'oidc-proxy' (OAuth proxy). Auto-detected if not set.
  • LOGODEV_MCP_BASE_URL Public base URL of this server (required for OIDC)
  • LOGODEV_MCP_OIDC_CONFIG_URL OIDC discovery endpoint URL
  • LOGODEV_MCP_OIDC_CLIENT_ID OIDC client ID
  • LOGODEV_MCP_OIDC_CLIENT_SECRET secret OIDC client secret
  • LOGODEV_MCP_OIDC_JWT_SIGNING_KEY secret Signing key for OIDC session JWTs (critical on Linux/Docker)
  • LOGODEV_MCP_OIDC_AUDIENCE Expected OIDC token audience
  • LOGODEV_MCP_OIDC_REQUIRED_SCOPES Space-separated required OIDC scopes
OCI package ghcr.io/pvliesdonk/logodev-mcp:v1.1.0
Claude Code
claude mcp add logo-dev-mcp -e 'FASTMCP_LOG_LEVEL=INFO' -e 'LOGODEV_MCP_KV_STORE_URL=file:///data/state' -e 'LOGODEV_MCP_SERVER_NAME=logodev-mcp' -e 'PUID=1000' -e 'PGID=1000' -e 'LOGODEV_MCP_BEARER_TOKEN=<your logodev_mcp_bearer_token>' -e 'LOGODEV_MCP_AUTH_MODE=<LOGODEV_MCP_AUTH_MODE>' -e 'LOGODEV_MCP_BASE_URL=<LOGODEV_MCP_BASE_URL>' -e 'LOGODEV_MCP_OIDC_CONFIG_URL=<LOGODEV_MCP_OIDC_CONFIG_URL>' -e 'LOGODEV_MCP_OIDC_CLIENT_ID=<LOGODEV_MCP_OIDC_CLIENT_ID>' -e 'LOGODEV_MCP_OIDC_CLIENT_SECRET=<your logodev_mcp_oidc_client_secret>' -e 'LOGODEV_MCP_OIDC_JWT_SIGNING_KEY=<your logodev_mcp_oidc_jwt_signing_key>' -e 'LOGODEV_MCP_OIDC_AUDIENCE=<LOGODEV_MCP_OIDC_AUDIENCE>' -e 'LOGODEV_MCP_OIDC_REQUIRED_SCOPES=openid' -- docker run -i --rm ghcr.io/pvliesdonk/logodev-mcp:v1.1.0 --port
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "logo-dev-mcp": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/pvliesdonk/logodev-mcp:v1.1.0",
                "--port"
            ],
            "env": {
                "FASTMCP_LOG_LEVEL": "INFO",
                "LOGODEV_MCP_KV_STORE_URL": "file:///data/state",
                "LOGODEV_MCP_SERVER_NAME": "logodev-mcp",
                "PUID": "1000",
                "PGID": "1000",
                "LOGODEV_MCP_BEARER_TOKEN": "<your logodev_mcp_bearer_token>",
                "LOGODEV_MCP_AUTH_MODE": "<LOGODEV_MCP_AUTH_MODE>",
                "LOGODEV_MCP_BASE_URL": "<LOGODEV_MCP_BASE_URL>",
                "LOGODEV_MCP_OIDC_CONFIG_URL": "<LOGODEV_MCP_OIDC_CONFIG_URL>",
                "LOGODEV_MCP_OIDC_CLIENT_ID": "<LOGODEV_MCP_OIDC_CLIENT_ID>",
                "LOGODEV_MCP_OIDC_CLIENT_SECRET": "<your logodev_mcp_oidc_client_secret>",
                "LOGODEV_MCP_OIDC_JWT_SIGNING_KEY": "<your logodev_mcp_oidc_jwt_signing_key>",
                "LOGODEV_MCP_OIDC_AUDIENCE": "<LOGODEV_MCP_OIDC_AUDIENCE>",
                "LOGODEV_MCP_OIDC_REQUIRED_SCOPES": "openid"
            }
        }
    }
}

Variables d'environnement

  • FASTMCP_LOG_LEVEL Log level (DEBUG, INFO, WARNING, ERROR)
  • LOGODEV_MCP_KV_STORE_URL Persistent-state backend URL for pvl-core subsystems. Schemes: file:///path (survives restarts), memory:// (dev/ephemeral).
  • LOGODEV_MCP_SERVER_NAME MCP server name shown to clients
  • PUID Run as this UID (Docker entrypoint)
  • PGID Run as this GID (Docker entrypoint)
  • LOGODEV_MCP_BEARER_TOKEN secret Bearer token for authentication
  • LOGODEV_MCP_AUTH_MODE OIDC auth mode: 'remote' (JWKS validation) or 'oidc-proxy' (OAuth proxy). Auto-detected if not set.
  • LOGODEV_MCP_BASE_URL Public base URL of this server (required for OIDC)
  • LOGODEV_MCP_OIDC_CONFIG_URL OIDC discovery endpoint URL
  • LOGODEV_MCP_OIDC_CLIENT_ID OIDC client ID
  • LOGODEV_MCP_OIDC_CLIENT_SECRET secret OIDC client secret
  • LOGODEV_MCP_OIDC_JWT_SIGNING_KEY secret Signing key for OIDC session JWTs (critical on Linux/Docker)
  • LOGODEV_MCP_OIDC_AUDIENCE Expected OIDC token audience
  • LOGODEV_MCP_OIDC_REQUIRED_SCOPES Space-separated required OIDC scopes

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Logo.dev MCP
  2. Features
  3. What you can do with it
  4. Installation
  5. Quick start
  6. Configuration
  7. Authentication
  8. Post-scaffold checklist
  9. GitHub secrets
  10. Local development
  11. Troubleshooting
  12. Links
  13. Domain configuration
  14. Key design decisions

Logo.dev MCP

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
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
git clone https://github.com/pvliesdonk/logodev-mcp.git
cd logodev-mcp
uv sync --all-extras --all-groups
Docker
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:

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

logodev-mcp serve                                # stdio transport
logodev-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.
gh secret set RELEASE_TOKEN
gh secret set CODECOV_TOKEN
gh secret set CLAUDE_CODE_OAUTH_TOKEN

GITHUB_TOKEN is auto-provided — no action needed.

Local development

The PR gate (matches CI):

uv run pytest -x -q                                  # tests
uv run ruff check --fix . && uv run ruff format .    # lint + format
uv 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:

rm -rf .venv
uv 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.

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.

Questions fréquentes

Qu'est-ce que Logo.dev MCP ?

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

Comment installer Logo.dev MCP ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add logo-dev-mcp -e 'FASTMCP_LOG_LEVEL=INFO' -e 'LOGODEV_MCP_SERVER_NAME=logodev-mcp' -e 'LOGODEV_MCP_BEARER_TOKEN=<your logodev_mcp_bearer_token>' -e 'LOGODEV_MCP_AUTH_MODE=<LOGODEV_MCP_AUTH_MODE>' -e 'LOGODEV_MCP_BASE_URL=<LOGODEV_MCP_BASE_URL>' -e 'LOGODEV_MCP_OIDC_CONFIG_URL=<LOGODEV_MCP_OIDC_CONFIG_URL>' -e 'LOGODEV_MCP_OIDC_CLIENT_ID=<LOGODEV_MCP_OIDC_CLIENT_ID>' -e 'LOGODEV_MCP_OIDC_CLIENT_SECRET=<your logodev_mcp_oidc_client_secret>' -e 'LOGODEV_MCP_OIDC_JWT_SIGNING_KEY=<your logodev_mcp_oidc_jwt_signing_key>' -e 'LOGODEV_MCP_OIDC_AUDIENCE=<LOGODEV_MCP_OIDC_AUDIENCE>' -e 'LOGODEV_MCP_OIDC_REQUIRED_SCOPES=openid' -- uvx logodev-mcp==1.1.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Logo.dev MCP ?

Oui. Il attend LOGODEV_MCP_BEARER_TOKEN, LOGODEV_MCP_OIDC_CLIENT_SECRET, LOGODEV_MCP_OIDC_JWT_SIGNING_KEY, à renseigner dans sa configuration.

Logo.dev MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Logo.dev MCP ?

Il est publié par pvliesdonk. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.