Building a Discord bot for your TTRPG table, a loot generator, an Obsidian plugin, or an AI assistant that actually knows your homebrew reference material instead of guessing? This free TTRPG API from the MGS Toolbox exposes everything it has built for game masters — 88 real and invented metals, 141 minerals, 350 alchemical ingredients, the Crafting Table’s potions and gems, and the full MGS Audio music catalogue — through a free public endpoint, embeddable cards, and an MCP server for AI tools like Claude, ChatGPT and Cursor.
Everything below is documented in full in the MGS Toolbox API reference, and every catalogue also lives in the MGS Toolbox apps you already know: the Metal Encyclopedia, the Crystal Encyclopedia, Rerum Natura, and the Crafting Table.
What’s in the API
- 88 metals — real alloys, mythological metals and invented ones, with physical and mechanical properties plus lore
- 141 minerals — crystallography, geology and arcane properties, real and fantasy
- 350 alchemical ingredients — category, rarity, price, essences, harvesting environments
- 54 potions and 58 gems from the Crafting Table, plus the full crafting rules text
- The MGS Audio catalogue — tracks, composers, albums and packs, searchable by genre, mood and era
Every entry, in English and French, carries a link back to its page — so any tool built on top of the data always sends users to the source.
A free TTRPG API, no key required
A single HTTP request returns any entry as JSON — no sign-up, no key, which is what makes this a genuinely free TTRPG API rather than a freemium one:
curl "https://michaelghelfistudios.com/api/v1/search?q=mithral"
curl "https://michaelghelfistudios.com/api/v1/ingredients/random?environment=swamp"
curl "https://michaelghelfistudios.com/api/v1/audio/tracks/random?genre=Combat&type=music"
That’s enough to build a Discord or Slack bot that answers !metal mithral, a loot generator pulling a rare mineral, a foraging table for a swamp encounter, or a soundtrack picker that hands a game master a battle theme or a forest ambience mid-session. No API key, no sign-up, no rate limit beyond the standard fair-use ceiling — see the full endpoint reference for every parameter.
Embeddable cards for your blog, wiki or World Anvil page
Every entry, track, artist and album now has a ready-made card you can drop into a website, a blog post, or a World Anvil or Kanka wiki. On platforms that support the oEmbed standard — WordPress, Discord, Notion, Ghost, Discourse — pasting the page link is enough; the card builds itself. Everywhere else, an iframe does the job, and the “Share” button on each Toolbox page copies the code for you.
An MCP server for Claude, ChatGPT and Cursor
The same catalogues are available as an MCP server — an open protocol, Model Context Protocol, for connecting AI assistants to real data — at https://michaelghelfistudios.com/api/v1/mcp, stateless, read-only, no key required. Point Claude, ChatGPT, Cursor or your own agent at it, and it can look up “adamantine” or pull three swamp ingredients from the actual database instead of inventing an answer, citing the source page every time.
Your own Fantasy City Simulator and Crafting Table data
With a personal API key, created from the API keys section of the Toolbox hub, a script or bot can also read your own Fantasy City Simulator settlements — resources, dashboard, inhabitants — and the inventories of the Crafting Table campaigns you run. It’s read-only, revocable in one click, and scoped so it never touches the audio catalogue: a key can’t download or stream anything.
The terms, in short
The data is free for personal, community and commercial projects alike. The one condition is a link back: every item’s url field is the page to show. Two things aren’t allowed — mirroring the encyclopedias into a standalone browsable copy, and treating the audio endpoints as a way to get the music itself. The API describes tracks, composers and albums; it never serves audio files, and licences for the recordings are still sold on the site as before.
Whether you’re wiring up a Discord bot, a VTT module, or just wanted a free TTRPG API you could trust with real data, this is it. Building something on top of it? We’d like to see it.
