shahnameh-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants and other MCP clients to access the Shahnameh, the Persian epic poem written by Ferdowsi. It acts as a bridge between an MCP client and a dedicated Shahnameh API backend, which in turn relies on a specialized dataset. The server exposes a set of tools that allow querying specific sections, verses, and explanations from the epic, making it possible for language models to retrieve and discuss classic Persian literature programmatically. The project is part of a broader effort to preserve and promote the Persian language in the AI era, welcoming collaboration from developers and enthusiasts. Built entirely in Python, it uses standard tooling like `pyproject.toml` for packaging and can be inspected with the MCP Inspector for development and testing.
Solves
Researchers, developers, and AI systems previously lacked a standardized, programmatic interface to the Shahnameh, hindering its integration into modern AI applications. This tool solves that by providing an MCP-compliant server, enabling seamless querying of the epic's text for building educational, cultural, or analytical applications that require structured access to Persian literary content.