Ao3 MCP logo

Ao3 MCP

by ArturLys

Searches AO3, resolves canonical tags, and uses Gemini to read shortlisted fics before recommending them.

Install Ao3 MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "arturlys-ao3-mcp": {
      "command": "uvx",
      "args": [
        "ao3-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE",
        "GEMINI_MODEL": "YOUR_VALUE_HERE",
        "GEMINI_MODEL_BACKUP": "YOUR_VALUE_HERE",
        "AO3_MIN_INTERVAL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx ao3-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

ArturLys/ao3-mcp MCP server connects MCP clients to Archive of Our Own for filtered work discovery and metadata lookup. It scrapes AO3 HTML because AO3 has no public API, then delegates full-fic analysis to Gemini so the calling agent receives structured reports instead of raw text. Use it for recommendations, comparisons, content questions, or writing research grounded in the actual work. A Gemini API key is required, while AO3 requests are throttled and cached locally for 24 hours.

Use cases

  • Search AO3 for works matching fandom, ship, tags, and rating filters
  • Compare shortlisted fics using reports from a secondary reader model
  • Check a fic's ending, explicitness, plot, or style before recommending it
  • Find canonical AO3 tags from partial or informal wording
  • Study how fanfic authors handle a trope, scene, or character voice

Key features

  • Filtered AO3 work search with query operators and wildcards
  • Fuzzy resolution of canonical fandom and tag names
  • Work metadata and series information lookup
  • Gemini-based reading of up to 20 works
  • Structured plot, style, content, and comparison reports
  • 24-hour local caching of downloaded fic text

Tools5

What Ao3 MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

30/31 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · ao3-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed5Callable tools this server registers over MCP.
Directory activity3 installsConfig copies, upvotes, and views on AllMCPs.

How Ao3 MCP works

What ArturLys/ao3-mcp MCP server does

ArturLys/ao3-mcp MCP server exposes Archive of Our Own search and reading workflows through MCP. It can locate works using fandom, relationship, character, tag, rating, completion, word-count, and sorting filters. Search results contain numeric work IDs, which can be turned into AO3 URLs with the /works/{id} pattern.

The server is designed to support recommendations based on the fic itself rather than its summary. A secondary Gemini model reads selected works and returns reports covering plot, characters, style, content notes, and prose samples. For a group of works, the report also compares or ranks them against a supplied question.

How it works

AO3 access is performed by scraping HTML, as AO3 does not provide a public API. Requests are spaced by a configurable minimum interval and the server honors Retry-After responses. Downloads are cached locally for 24 hours, so asking new questions about an already downloaded work does not require another AO3 request.

The intended flow is to search broadly, select up to 20 work IDs, and call read_works with a question. The agent receives reader reports, not the full fic text. A single-work request can send up to roughly 150,000 words to the reader; batched works have a lower per-work character cap. get_work_text exists as an escape hatch for one work, but it bypasses delegation and can consume substantial context.

Setup and configuration

Install the package with Python 3.10 or newer:

Terminal
pip install ao3-mcp

Running ArturLys/ao3-mcp MCP server requires a Gemini API key. Supply it with --api-key or set GEMINI_API_KEY. The default reader model is gemini-flash-latest; GEMINI_MODEL and GEMINI_MODEL_BACKUP can change the primary and fallback models. AO3_MIN_INTERVAL changes the default 0.6-second delay between AO3 requests.

MCP clients should launch the ao3-mcp command and pass the key as an argument or environment variable. The README specifically documents configurations for Claude, Cursor, Google Antigravity, and VS Code/Copilot.

Tools and capabilities

  • search_works: Search AO3 with optional filters, AO3 query operators, wildcards, and up to five pages of 20 results.
  • find_tags: Use live autocomplete to resolve fuzzy wording to canonical fandom, relationship, character, or tag names.
  • get_work: Retrieve a work's metadata, including tags, statistics, summary, and series details.
  • read_works: Ask Gemini to read one to 20 works and return per-work reports plus batch comparisons.
  • get_work_text: Retrieve raw text for one work with an optional word limit when exact wording or close reading is necessary.

Limitations and notes

Gemini's safety filter may refuse some explicit or extreme works, although the server retries with a backup model. AO3 content spans all ratings, so callers should use the rating and warning-related filters when controlling what gets fetched.

Cloudflare challenges can cause AO3 requests to fail. ArturLys/ao3-mcp MCP server is released under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ao3 MCP

Install Python 3.10 or newer, then run `pip install ao3-mcp`. Launch the installed `ao3-mcp` command from your MCP client.

Configure the client to run `ao3-mcp` and provide a Gemini API key.

Yes. Provide the key with `--api-key` or set `GEMINI_API_KEY`.

`read_works` delegates reading to Gemini and returns structured reports rather than fic text. It accepts one to 20 work IDs; `get_work_text` can retrieve raw text for one work when exact wording is needed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAo3 MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/arturlys-ao3-mcp?style=directory)](https://allmcps.com/mcp/arturlys-ao3-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/arturlys-ao3-mcp"><img src="https://allmcps.com/api/badge/arturlys-ao3-mcp?style=directory" alt="Ao3 MCP on AllMCPs" /></a>