Skip to main content

An MCP server for Anitabi public APIs, providing anime pilgrimage landmark information.

Project description

Anitabi MCP Server

An MCP (Model Context Protocol) server for the Anitabi public API. This server provides tools to fetch anime pilgrimage landmark information, letting AI assistants access real-world locations associated with various anime based on their Bangumi subject IDs.

Features

This server provides the following tools:

  • get_anime_lite_info(subject_id: int): Fetches lite information of an anime's pilgrimage landmarks based on its Bangumi subject ID. Includes basic info like Chinese and original titles, the main city of pilgrimage, cover image, and up to 10 iconic landmarks.
  • get_anime_detail_points(subject_id: int, have_image: bool = None): Fetches detailed landmark information for an anime based on its Bangumi subject ID. Can optionally filter to only return landmarks that have images.
  • get_map_url(subject_id: int): Generates the Anitabi interactive pilgrimage map URL for a specific anime based on its Bangumi subject ID.

Installation and Setup

Usage with Claude Desktop (or other MCP Clients)

To use this server, you can configure your MCP client to run it via uvx. Add the following to your MCP client's configuration file (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "anitabi_mcpserver": {
      "command": "uvx",
      "args": [
        "--refresh",
        "anitabi-mcpserver"
      ]
    }
  }
}

Local Development

  1. Ensure you have uv installed.
  2. Clone the repository and navigate to the project root.
  3. Build the package:
    uv build
    

API Source

All data is provided by the Anitabi public API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anitabi_mcpserver-0.4.0.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anitabi_mcpserver-0.4.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file anitabi_mcpserver-0.4.0.tar.gz.

File metadata

  • Download URL: anitabi_mcpserver-0.4.0.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for anitabi_mcpserver-0.4.0.tar.gz
Algorithm Hash digest
SHA256 25de451f8edae528bcf080f6daaf5ea2ad2a4472aa66b18458db46833b768381
MD5 5e09fd36f22de7d92123e74d5788e6ef
BLAKE2b-256 7a4d157179c05c653777771ad13934e205dd92b5f59bf70df6218c019c97807c

See more details on using hashes here.

File details

Details for the file anitabi_mcpserver-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anitabi_mcpserver-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72305e901a4a7165cf069347dcb59cbe347e6dbf6c3dfbb2f29f4759d73caa05
MD5 f34ea863dc119932cbb8bbd75e1ce742
BLAKE2b-256 eea7c554268bd5a0fab563004d711411bfabdebe6e16727600a5b57d1c1f94ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page