Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Myfigurecollection API
概览
作者提供的说明(英文原文)
Read MyFigureCollection.net: search figures, JAN barcode lookup, shop prices, collections and clubs.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 网店与支付
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"myfigurecollection-api": {
"command": "uvx",
"args": [
"myfigurecollection-api"
]
}
}
}在终端中运行这条命令
claude mcp add myfigurecollection-api -- uvx myfigurecollection-api或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"myfigurecollection-api": {
"command": "uvx",
"args": [
"myfigurecollection-api"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"myfigurecollection-api": {
"type": "stdio",
"command": "uvx",
"args": [
"myfigurecollection-api"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 ssskay 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 2534 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 2534 个服务器的 22% 更新
- 基础检查结果等于或优于此分类中其他 2534 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Myfigurecollection API 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.1)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
myfigurecollection-api
Install: pip install myfigurecollection-api · all formats & checksums
An unofficial MyFigureCollection.net API: a Python library plus a local MCP server, so agents can read figure data, collections, lists and clubs.
MFC has no working public API. Its own API club (#349) has been promising "API v4 coming soon" for eight years. This package reads the public HTML instead, and turns it into typed models.
New here? The short version
MyFigureCollection is the largest catalog of anime figures and merch on the internet, and for years there has been no good way for a program to read it. This project fixes that on your own computer. You install it once, and an AI assistant like Claude can then look things up on MFC for you: "how much is this figure at AmiAmi?" or "list every Chiikawa item releasing in October."
sequenceDiagram
participant You participant Claude participant api as mfc-api, on your computer participant MFC as myfigurecollection.net You->>Claude: How much is the Alice Carroll figure? Claude->>api: get_partner_listings(287) api->>MFC: fetch the item's Buy window MFC-->>api: HTML api-->>Claude: AmiAmi · Available · ¥11,980 Claude-->>You: AmiAmi has it in stock for ¥11,980
What is MCP? The Model Context Protocol is a standard plug for giving AI assistants new abilities. An MCP server is a small program on your machine that an assistant is allowed to call. This one gives your assistant 12 MFC abilities, from item search to barcode lookup. Adding it takes one snippet in a config file, shown in Use it as an MCP server.
Why not use MFC's official API? There isn't one. The site's own API club has been waiting for it since 2018.
Why isn't this a website I can visit? Cloudflare guards MFC and decides who gets in partly by IP reputation. It trusts connections from home computers and distrusts servers, so a hosted version would get blocked within days while a copy on your own machine keeps working. That constraint shaped the whole design.
Do I need to know Python? Two terminal commands to install (below). After that your assistant does the driving.
Why this exists (and why the obvious approach fails)
MFC is behind Cloudflare, which blocks on TLS fingerprint — not user-agent. requests, httpx and aiohttp all get a 403 "Just a moment..." challenge no matter what headers you send. That is why the older tenji scraper stopped working; its parsers never even received HTML.
This package uses curl_cffi with impersonate="chrome", which reproduces a real Chrome handshake and gets a 200. That choice is load-bearing. Swapping in a normal HTTP client will break everything.
It is also why this ships as a *local* tool rather than a hosted service: Cloudflare weights IP reputation, so a scraper on datacenter IPs gets challenged and burns the shared address for everyone. Run it on your own machine.
flowchart LR
A["requests / httpx / aiohttp (any headers you like)"] -->|"403 Just a moment..."| CF{Cloudflare} B["Your browser"] -->|200| CF C["mfc-api via curl_cffi (Chrome TLS handshake)"] -->|200| CF CF --> MFC[("myfigurecollection.net")]
Install
This needs Python 3.10+. The package is on PyPI:
pip install myfigurecollection-api
On a Mac, python3 is often Xcode's 3.9, which will not run this code, so be explicit about the interpreter (e.g. pip3.12). Working from a clone instead, use pip3.12 install -e ..
Then check it landed:
mfc-api item 287
If mfc-api isn't found, your shell's python3 bin directory isn't on PATH. Find the script with python3.12 -c "import sysconfig; print(sysconfig.get_path('scripts'))" and use that absolute path.
Use it as an MCP server
mfc-api with no arguments starts the MCP server on stdio. Add this to your MCP config — ~/Library/Application Support/Claude/claude_desktop_config.json for Claude Desktop, or .mcp.json in your project for Claude Code:
{
"mcpServers": { "myfigurecollection": { "command": "uvx", "args": ["myfigurecollection-api"] } } }
This needs uv installed; uvx fetches the package from PyPI on first run, so there is nothing else to set up.
No uv? Point command at the installed script by its absolute path, e.g. /Library/Frameworks/Python.framework/Versions/3.12/bin/mfc-api. The path must be absolute because MCP clients launch servers with a minimal PATH that does not include your shell's Python bin directory — a bare "command": "mfc-api" will fail even though it works in your terminal.
Tools
| Tool | What it returns |
|---|---|
get_item(item_id) | Full item: category, picture, origins, characters, companies, artists, releases (date / edition / price / barcode), scale, height, rating, owner counts |
search_items(query, page, category_id) | 50 items per page, with pagination |
search_by_barcode(barcode) | Item lookup by JAN/UPC — the join key for matching an item across stores |
get_partner_listings(item_id) | Which partner shops sell an item, with availability and price |
get_shop(shop_id) | Homepage, location, shipping, rating, review and item counts |
search_shops(keywords, page, average_score, partners_only) | The shop directory, 10 per page |
get_profile(username) | Join date, hits, rank, about fields, per-category collection counts |
get_collection(username, status, page) | 50 items per page; status is owned, ordered, wished or favorites |
get_user_lists(username, page) | A user's published item lists |
get_list(list_id, page) | A list's owner, description, tags and items |
get_club(club_id) | Description, threads, recent comments, staff, members |
get_club_members(club_id, page) | The full member roster |
get_club is new — tenji never had it.
Two things to know about store data
Prices only exist where MFC has a barcode. get_partner_listings returns every partner shop, but MFC can only check real stock for items whose JAN it recorded. For an item with no barcode, all 32 partners come back as maybe_available with no price. That means "not checked", not "in stock". Filter on availability == "available".
`search_by_barcode` is a lookup, not a search. A known barcode returns the full item under item with matched: true. An unknown one returns matched: false — which includes barcodes that are real but that MFC simply never recorded, common for Western releases.
Configuration
| Environment variable | Default | Meaning |
|---|---|---|
MFC_API_RATE_LIMIT | 1.0 | Seconds between requests |
MFC_API_CACHE_TTL | 3600 | Cache lifetime in seconds; 0 disables |
MFC_API_CACHE_DIR | ~/.cache/mfc-api | Where cached pages live |
MFC_API_LOG_LEVEL | WARNING | Server log level (logs go to stderr) |
Use it as a library
from mfc_api import MFCClient, CollectionStatus
with MFCClient() as mfc: item = mfc.get_item(287) print(item.name) # Aria - Alice Carroll - Maa - 1/6 (Toy's Works) print(item.releases[0].price) # 6980.0 print([c.name for c in item.characters]) # ['Alice Carroll', 'Maa']
collection = mfc.get_collection("Climbatize", status=CollectionStatus.OWNED) print(collection.stats.owned, collection.pagination.total_pages)
Walk every page, politely (one request per second)
for page in mfc.iter_collection("Climbatize", max_pages=3): print(page.pagination.current_page, len(page.items))
Everything under one origin or character (library and CLI only — not an MCP tool):
with MFCClient() as mfc:
page = mfc.get_entry_items(237138) # Chiikawa, oldest first, 50 per page print(page.pagination.total_items) # 7247 item = mfc.get_item(page.items[0].id) print(item.picture_large) # full-size upload/items/2/ picture
Item.picture is a 256px preview; Item.picture_large is the original upload. transport.get_bytes(url) fetches a picture through the same rate limiter, and a 429 raises MFCRateLimitedError carrying retry_after instead of being retried.
Barcode in, prices out:
from mfc_api import MFCClient
with MFCClient() as mfc: match = mfc.search_by_barcode("4543341130624") if match.matched: for listing in mfc.get_partner_listings(match.item.id).available: print(listing.shop_name, listing.price, listing.currency) # AmiAmi 11980.0 JPY
Use it from the shell
mfc-api item 287
mfc-api barcode 4543341130624
mfc-api listings 287
mfc-api shops Japan --partners
mfc-api collection Climbatize --status owned --page 2
Everything prints JSON on stdout; logs go to stderr. mfc-api --help lists every subcommand. mfc-api-cli is kept as an alias.
Archiving an item page to the Wayback Machine
A price or a listing you read today is uncitable tomorrow: the page will have moved on, and nobody has to take your word for what it said. archive=True files the public item page with the Internet Archive's Save Page Now and attaches the result to the item.
with MFCClient() as mfc:
item = mfc.get_item(287, archive=True) print(item.releases[0].price, item.archive.wayback_url)
6980.0 https://web.archive.org/web/20260903081500/https://myfigurecollection.net/item/287
Three things fall out of one hook: a price-history series accumulates as a byproduct of ordinary reads, every row becomes auditable by someone who does not trust you, and the data survives the site. That last one is not hypothetical — tenji died, and Mandarake went dark in September 2026.
It never breaks a read. A failure is a row, not an exception: item.archive.status is one of success, already (a recent capture existed, so the Archive declined to make another — still a preservation success), skipped, pending, or failed with a reason. If the Internet Archive is down you still get the item.
Nothing about a person is ever archived
Most of MFC is people. is_public_item_url is a whitelist of /item/ with no query string, so profiles, collections, user lists and club rosters are refused before any request is made:
mfc.snapshot("https://myfigurecollection.net/item/287") # captured
mfc.snapshot("https://myfigurecollection.net/profile/someone") # skipped, never sent
A whitelist rather than a blacklist on purpose: a new personal URL shape cannot leak through something that only lists what to keep.
It is opt-in for a reason
Reads default to archive=False, and archiving is meant to run as its own deliberate pass over the items you actually care about — not inline in a latency-sensitive loop:
- Weekly cadence. A JSON ledger records when each URL was last captured; anything captured in the last 7 days is skipped without a request. Weekly is plenty of resolution for a price curve and much gentler on both the Archive and MFC. The submit also carries
if_not_archived_within=7d, so the Archive enforces the same window even if the ledger is lost. - Serialized, one every 6 seconds, with a per-run cap of 50, and
Retry-Afterhonoured on a 429.
| Setting | What it does |
|---|---|
MERCH_ARCHIVE=0 | Kill switch — disables every snapshot in the process. Shared with the sibling merch clients, so one variable turns archiving off across a bulk run. |
MERCH_ARCHIVE_LEDGER | Ledger path, shared across sibling clients so one pass keeps one honest cadence per URL. |
| `MFC_ARCHIVE_LE
只显示了开头部分;其余内容请在仓库中阅读