MCP server for Archive of Our Own: search fanfiction and have an AI read and rank fics for you
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ao3 --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- uvx ao3-mcp~/.codex/config.toml
[mcp_servers.ao3]
command = "uvx"
args = ["ao3-mcp"]
env = { GEMINI_API_KEY = "<GEMINI_API_KEY>" }
# codex mcp add ao3 --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- uvx ao3-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ao3": {
"command": "uvx",
"args": [
"ao3-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ao3": {
"type": "stdio",
"command": "uvx",
"args": [
"ao3-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ao3": {
"command": "uvx",
"args": [
"ao3-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ao3": {
"command": "uvx",
"args": [
"ao3-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ao3": {
"command": "uvx",
"args": [
"ao3-mcp"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}Environment variables
GEMINI_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.