Anapioficeandfire logo

Anapioficeandfire

Searches and retrieves A Song of Ice and Fire books, characters, and houses through MCP.

Install Anapioficeandfire

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "anapioficeandfire": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-anapioficeandfire"
      ]
    }
  }
}

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

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Anapioficeandfire connects MCP clients to the An API of Ice and Fire, covering A Song of Ice and Fire books, characters, and houses. Its collection tools support filters and pagination, while separate tools retrieve individual records by ID. Use it for structured ASOIAF lookups from an MCP client or through the provided HTTP endpoints. The package is keyless and can run locally over stdio or through the Pipeworx gateway.

Use cases

  • Search books by title or release-date range
  • Find characters by culture, gender, or alive status
  • Retrieve a book, character, or house by ID
  • Filter houses by region, titles, seats, or ancestral weapons

Key features

  • Book search with date filters and pagination
  • Character search with descriptive filters
  • House search with property filters
  • Individual record lookup by ID
  • Hosted MCP, HTTP, and local stdio access
  • Keyless operation

Tools6

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

Verified live~367 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 3d ago

Recent health check succeeded.

9/9 checks healthy over the last 51d

What it can do

From the 6 tools this server returned when we ran it.

Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age160 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @pipeworx/mcp-anapioficeandfire (npm)

Adoption & maintenance

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

npm downloads574Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Anapioficeandfire works

What Anapioficeandfire does

Anapioficeandfire exposes the An API of Ice and Fire as MCP tools for querying A Song of Ice and Fire data. It covers three resource types:

  • Books, including names, release dates, ISBNs, authors, publishers, page counts, and character lists.
  • Characters, including aliases, titles, house affiliations, and book or point-of-view appearances.
  • Houses, which can be searched and retrieved individually.

Collection queries can return multiple records with pagination. Book searches accept a name and release-date range. Character searches support name, culture, birth and death descriptors, gender, and alive status. House searches support name, region, words, titles, seats, extinct status, and ancestral weapons.

How it works

The tools use data from https://anapioficeandfire.com/api/. MCP clients can connect to the Pipeworx endpoint at https://gateway.pipeworx.io/anapioficeandfire/mcp, where the pack's tools are exposed alongside shared Pipeworx gateway tools. The gateway also provides ask_pipeworx, which can route a natural-language question to an appropriate tool.

A local alternative runs the package as a stdio MCP server. This mode handles MCP initialization, tool discovery, and tool calls for the Anapioficeandfire tools only; it does not include the gateway's shared meta-tools. The same data source and pack-specific operations are available in either mode.

The gateway also exposes HTTP tool endpoints. For example, clients can send a JSON POST request to /v1/tools/books to run a book search, without configuring an MCP client.

Setup and configuration

For a hosted MCP connection, add the following server URL to a compatible client:

config.json
{
  "mcpServers": {
    "anapioficeandfire": {
      "url": "https://gateway.pipeworx.io/anapioficeandfire/mcp"
    }
  }
}

The package can instead be launched locally with npx:

config.json
{
  "mcpServers": {
    "anapioficeandfire": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-anapioficeandfire"]
    }
  }
}

No API key or Pipeworx account is required for the standalone package, and the gateway supports initial calls without an account.

Tools and capabilities

  • books(name?, fromReleaseDate?, toReleaseDate?, page?, pageSize?) searches and paginates books.
  • book(id) retrieves one book.
  • characters(name?, culture?, born?, died?, isAlive?, gender?, page?, pageSize?) searches and paginates characters.
  • character(id) retrieves one character.
  • houses(name?, region?, words?, hasTitles?, hasSeats?, hasDiedOut?, hasAncestralWeapons?, page?, pageSize?) searches and paginates houses.
  • house(id) retrieves one house.

Limitations and notes

The integration is independent and unofficial, and is not affiliated with or endorsed by the upstream data provider. A hosted pack endpoint includes shared Pipeworx tools in addition to the six pack-specific tools, so its advertised tool list is larger than the local stdio server's list. Use the local package when only the Anapioficeandfire tools are needed.

Reviews

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

Frequently Asked Questions about Anapioficeandfire

Anapioficeandfire is an MCP server that connects AI agents to the An API of Ice and Fire data source. It provides books, book, characters, character, houses, and house tools for searching or retrieving ASOIAF books, characters, and houses, with filters and pagination on collection queries.

Install it by configuring an MCP client to run `npx -y @pipeworx/mcp-anapioficeandfire` over stdio. You can also connect to the hosted URL `https://gateway.pipeworx.io/anapioficeandfire/mcp` instead of running the package locally.

Yes, Anapioficeandfire works with Cursor through its hosted MCP URL or local stdio configuration. Add the server to Cursor's MCP settings using the gateway URL or the `npx` command and package name.

No, the standalone package is keyless and requires no Pipeworx account. The hosted gateway also permits initial calls without an account.

Use the `characters` tool with optional name, culture, birth, death, gender, and alive-status filters. The collection tool also accepts page and page-size values and returns character details such as aliases, titles, houses, and book appearances.

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 PreviewAnapioficeandfire AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/anapioficeandfire?style=directory)](https://allmcps.com/mcp/anapioficeandfire)
HTML Embed
<a href="https://allmcps.com/mcp/anapioficeandfire"><img src="https://allmcps.com/api/badge/anapioficeandfire?style=directory" alt="Anapioficeandfire on AllMCPs" /></a>