Grimoire
Provides D\&D 5e spell information through search and filtering tools. Access detailed spell data, class-specific spell lists, and spell school references powered by the D\&D 5e API.
README
Grimoire
"World's okayest MCP-powered D&D 5e spellbook"
A Model Context Protocol (MCP) server that provides D&D 5e spell information through a set of tools. Built as a learning project to explore the Smithery MCP deployment platform.
Features
- Spell search with filters (level, school, class, name, ritual, concentration)
- Detailed spell information including casting time, components, and descriptions
- Class-specific spell lists by level
- Spell school and character class references
Powered by D&D 5e API
This project is entirely powered by the D&D 5e API - a comprehensive, community-driven API that provides detailed information about D&D 5e spells, monsters, and more.
Quick Start
Prerequisites
- Node.js 18+
- npm or yarn
Installation
- Clone the repository:
git clone https://github.com/yourusername/grimoire.git
cd grimoire
- Install dependencies:
npm install
- Start the development server:
npm run dev
Available Tools
search_spells- Search for spells with various filtersget_spell- Get detailed information about a specific spelllist_schools- List all available D&D 5e spell schoolslist_classes- List all available spellcasting character classesget_class_spells- Get spells available to a specific class at a given level
Built with Smithery
This project is deployed using Smithery, a platform for deploying MCP servers that makes it easy to deploy, scale, and manage MCP servers with zero configuration.
Development
Project Structure
grimoire/
├── src/
│ └── index.ts # Main MCP server implementation
├── package.json # Dependencies and scripts
├── smithery.yaml # Smithery deployment configuration
└── README.md # This file
Local Development
Start the development server:
npm run dev
The server will be available at the local endpoint provided by Smithery CLI.
Configuration
debug(boolean): Enable debug logging (default: false)
Contributing
Contributions are welcome! This is a learning project, so feel free to:
- Add new spell-related tools
- Improve error handling
- Enhance the documentation
- Add tests
- Suggest new features
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- D&D 5e API for providing comprehensive spell data
- Smithery for the MCP deployment platform
- The D&D 5e community for maintaining comprehensive game data
Links
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.