Skip to main content

Anki Addons MCP

An MCP server that gives LLM clients read-only access to the Anki Addons dataset: every addon in the AnkiWeb catalog, enriched with GitHub, Anki Forum and AI-summary data, published as monthly snapshots.

It answers questions such as "which addon does X?", "will it work on Anki 25.02?", "is it maintained?", and "what changed since last month?".

Use it locally (STDIO)

Requires uv. uvx runs the PyPI package in an isolated, cached environment; to run a working copy instead, see Run from sources.

Register the server in Claude Code:

claude mcp add anki-addons -- uvx anki-addons-mcp

Other MCP clients use the same command (uvx anki-addons-mcp) in their server configuration, e.g.:

{
  "mcpServers": {
    "anki-addons": { "command": "uvx", "args": ["anki-addons-mcp"] }
  }
}

The first start downloads the latest snapshot (~15 MB) into the HuggingFace cache. Older snapshots are downloaded on demand by history tools, so the first history question can take a minute.

Use it remotely (Streamable HTTP)

Connect to a hosted instance (e.g. a HuggingFace Space) by URL:

claude mcp add --transport http anki-addons https://<user>-anki-addons-mcp.hf.space/mcp

To host your own instance, see Run over HTTP and Deploy to a HuggingFace Space.

Capabilities

Tools (all read-only, every data tool takes an optional snapshot, YYYY-MM-DD or latest): search_addons, filter_addons, get_addon, get_addon_readme, get_addon_description, check_compatibility, assess_maintenance, find_similar_addons, list_addons_by_author, get_addon_history, diff_snapshots, get_statistics, top_addons, list_snapshots, and query_sql (one sandboxed DuckDB SELECT over an addons table; only offered by SQL-capable backends).

Resources: anki-addons://dataset/readme, anki-addons://dataset/schema, anki-addons://snapshots, anki-addons://snapshots/{snapshot}/metadata, anki-addons://snapshots/{snapshot}/aggregation, anki-addons://addons/{addon_id} (and /readme, /description, /history), anki-addons://authors/{github_user}.

Prompts: find_addon_for_task, compare_addons, addon_health_report, upgrade_readiness, monthly_ecosystem_digest, before_you_build, author_portfolio.

AI summaries in the dataset are LLM-generated; the server labels them as such.

Configuration

CLI flags override environment variables (prefix ANKI_MCP_, also read from .env).

Variable Default Meaning
ANKI_MCP_TRANSPORT stdio stdio or http
ANKI_MCP_HOST / ANKI_MCP_PORT / ANKI_MCP_PATH 127.0.0.1 / 8000 / /mcp HTTP binding
ANKI_MCP_ALLOWED_HOSTS [] JSON list of Host headers to allow (enables DNS-rebinding protection)
ANKI_MCP_BACKEND hf_parquet hf_parquet (HuggingFace Hub) or local_parquet (a local copy)
ANKI_MCP_HF_REPO_ID / ANKI_MCP_HF_REVISION Ya-Alex/anki-addons / main Dataset to serve
ANKI_MCP_DATA_DIR Dataset directory for local_parquet (latest/, history/<date>/)
ANKI_MCP_CACHE_DIR HF cache Download cache
ANKI_MCP_REFRESH_INTERVAL_SECONDS 3600 Check for a new dataset revision; 0 disables
ANKI_MCP_SQL_ENABLED / _SQL_MAX_ROWS / _SQL_TIMEOUT_SECONDS true / 200 / 10 query_sql limits
ANKI_MCP_MAINTENANCE_ACTIVE_DAYS / _STALE_DAYS 180 / 730 Maintenance label thresholds
ANKI_MCP_LOG_LEVEL INFO Logs go to stderr
HF_TOKEN Optional HuggingFace token for higher download rate limits (a Space secret)

Metadata

Release files for anki-addons-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anki-addons-mcp 0.1.0
File Size Uploaded
anki_addons_mcp-0.1.0.tar.gz 42.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anki-addons-mcp 0.1.0
File Interpreter ABI Platform
anki_addons_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 86.9 kB

Release files / anki_addons_mcp-0.1.0.tar.gz

Download URL anki_addons_mcp-0.1.0.tar.gz
Size 42.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d72494485ab07ba77eb5eeca3e0e0f4b81c3b4dae7eea57071132c1b483636c6
BLAKE2b-256 checksum
How to use checksums
0cd2efdd3a4d4b1330fe84bcb334a5563a562aaf4188691a6cbe4c6463ff80b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / anki_addons_mcp-0.1.0-py3-none-any.whl

Download URL anki_addons_mcp-0.1.0-py3-none-any.whl
Size 44.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e8c501dd6a9e38224535268ba412d997a663a2b5abc9655d868fa0da50f36bd
BLAKE2b-256 checksum
How to use checksums
53d70f67e6c5ea4a8826510d01b0fff0747de2fcb1932a4fffd3ab2950288d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page