Read MyFigureCollection.net: search figures, JAN barcode lookup, shop prices, collections and clubs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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."
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.
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.
This needs Python 3.10+. The package is on PyPI:
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:
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.
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:
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.
| 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.
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.
| 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) |
Barcode in, prices out:
Everything prints JSON on stdout; logs go to stderr. mfc-api --help lists every
subcommand. mfc-api-cli is kept as an alias.
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.
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.
Most of MFC is people. is_public_item_url is a whitelist of /item/<id>
with no query string, so profiles, collections, user lists and club rosters are
refused before any request is made:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/myfigurecollection-api)<a href="https://allmcps.com/mcp/myfigurecollection-api"><img src="https://allmcps.com/api/badge/myfigurecollection-api?style=directory" alt="Myfigurecollection API on AllMCPs" /></a>