logodev-mcp
Enables looking up company logos and brand data via the logo.dev API.
README
Logo.dev MCP
<!-- mcp-name: io.github.pvliesdonk/logodev-mcp -->
Look up company logos and brand data via the logo.dev API.
Documentation | Config wizard | PyPI | Docker
Features
<!-- DOMAIN-START -->
- 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 ofdescribe_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. <!-- DOMAIN-END -->
What you can do with it
<!-- DOMAIN-START --> 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_logowithidentifier_type=ticker(publishable key required). <!-- DOMAIN-END -->
<!-- ===== TEMPLATE-OWNED SECTIONS BELOW — DO NOT EDIT; CHANGES WILL BE OVERWRITTEN ON COPIER UPDATE ===== -->
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:
<!-- DOMAIN-START -->
<!-- List optional extras and their purpose here (e.g. pip install logodev-mcp[embeddings]). Kept across copier update. -->
<!-- DOMAIN-END -->
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:
| Variable | Default | Description |
|---|---|---|
FASTMCP_LOG_LEVEL |
INFO |
Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR). The -v CLI flag overrides to DEBUG. |
FASTMCP_ENABLE_RICH_LOGGING |
true |
Set to false for plain / structured JSON log output. |
LOGODEV_MCP_KV_STORE_URL |
file:///data/state |
Persistent-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:
- Fill in the DOMAIN blocks in this README (Features, What you can do with it, Domain configuration, Key design decisions) and in
CLAUDE.md. - Configure GitHub secrets — see below.
- Install dev + docs tooling:
uv sync --all-extras --all-groups. - Install pre-commit hooks:
uv run pre-commit install. - Run the gate locally:
uv run pytest -x -q && uv run ruff check --fix . && uv run ruff format . && uv run mypy src/ tests/. - 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:
| Secret | Used by | How to generate |
|---|---|---|
RELEASE_TOKEN |
release.yml, copier-update.yml |
Fine-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_TOKEN |
ci.yml |
https://codecov.io — sign in with GitHub, add the repo, copy the upload token from the repo settings page. |
CLAUDE_CODE_OAUTH_TOKEN |
claude.yml, claude-code-review.yml |
Run 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.
Links
<!-- ===== TEMPLATE-OWNED SECTIONS END ===== -->
Domain configuration
<!-- DOMAIN-START -->
Domain environment variables use the LOGODEV_MCP_ prefix:
| Variable | Default | Required | Description |
|---|---|---|---|
LOGODEV_MCP_PUBLISHABLE_KEY |
— | Conditional | logo.dev publishable key (pk_…). Enables the get_logo tool. Omit to hide that tool. |
LOGODEV_MCP_SECRET_KEY |
— | Conditional | logo.dev secret key (sk_…). Enables search_brands, describe_company, and get_brand. Omit to hide those tools. |
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. <!-- DOMAIN-END -->
Key design decisions
<!-- DOMAIN-START -->
- Two-key gating —
LOGODEV_MCP_PUBLISHABLE_KEYcontrolsget_logo;LOGODEV_MCP_SECRET_KEYcontrolssearch_brands,describe_company, andget_brand. Tools for a missing key are never registered, not merely guarded at call time. - Domain logic stays FastMCP-free —
src/logodev_mcp/domain.pycontains theServiceclass andLogoDevErrorwith no FastMCP imports;src/logodev_mcp/tools.pyis the sole FastMCP layer. - Errors surface as strings —
LogoDevErrorraised 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_logoreturns both the CDN URL (text) and the image bytes (image content block) unlessurl_only=True, in which case only the URL string is returned. <!-- DOMAIN-END -->
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。