{"_id":"@adkinn/fifth-edition-srd-mcp","_rev":"4-aef35c98b5334def0790a8bc0b832c62","name":"@adkinn/fifth-edition-srd-mcp","dist-tags":{"latest":"1.4.0"},"versions":{"1.2.0":{"name":"@adkinn/fifth-edition-srd-mcp","version":"1.2.0","keywords":["mcp","srd","ttrpg","fifth-edition","5e","2024"],"author":{"url":"https://adamkinney.com","name":"Adam Kinney"},"license":"MIT","_id":"@adkinn/fifth-edition-srd-mcp@1.2.0","maintainers":[{"name":"adkinn","email":"adam.kinney@gmail.com"}],"homepage":"https://github.com/adkinn/srd-5.2.1#readme","bugs":{"url":"https://github.com/adkinn/srd-5.2.1/issues"},"bin":{"fifth-edition-srd-mcp":"dist/index.js"},"dist":{"shasum":"8b9428b974b81511554f972de5398f86968758a7","tarball":"https://registry.npmjs.org/@adkinn/fifth-edition-srd-mcp/-/fifth-edition-srd-mcp-1.2.0.tgz","fileCount":35,"integrity":"sha512-sPLQt9w2TH8arIyeK2/PZaIz6bqP41kqpZyewFxK7KMUAIKVjPdoZYxAXLEYSovM5E5jJjHEWKmrvRKeHz15zQ==","signatures":[{"sig":"MEUCIQCKm8ZvDLOt5Pr8XhAtwEU9XIZCQAQdlXOQOiZqcPuuLgIgAN5Lgt3xeZZ2t94LNNhaBbl+3qai2k0G69Z6Ksef/Ys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":876553},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"81c6f493ca19725414f48c42f131f8befe5d6168","scripts":{"test":"node --experimental-test-snapshots --test dist/test/*.test.js","build":"tsc","prepack":"npm run prepare","prepare":"node -e \"require('fs').cpSync('../data', './data', {recursive: true, force: true})\" && npm run build","test:build":"npm run build && npm test"},"_npmUser":{"name":"adkinn","email":"adam.kinney@gmail.com"},"repository":{"url":"git+https://github.com/adkinn/srd-5.2.1.git","type":"git"},"_npmVersion":"11.9.0","description":"stdio MCP server for SRD 5.2.1 monsters and conditions (2024 rules)","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/fifth-edition-srd-mcp_1.2.0_1787784897746_0.5751427969089018","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@adkinn/fifth-edition-srd-mcp","version":"1.2.1","keywords":["mcp","srd","ttrpg","fifth-edition","5e","2024"],"author":{"url":"https://adamkinney.com","name":"Adam Kinney","email":"npm@adamkinney.com"},"license":"MIT","_id":"@adkinn/fifth-edition-srd-mcp@1.2.1","maintainers":[{"name":"adkinn","email":"adam.kinney@gmail.com"}],"homepage":"https://github.com/adkinn/srd-5.2.1#readme","bugs":{"url":"https://github.com/adkinn/srd-5.2.1/issues"},"bin":{"fifth-edition-srd-mcp":"dist/index.js"},"dist":{"shasum":"523aeede0fc2d1b9c6caddb0a115ed9bb628a8c4","tarball":"https://registry.npmjs.org/@adkinn/fifth-edition-srd-mcp/-/fifth-edition-srd-mcp-1.2.1.tgz","fileCount":35,"integrity":"sha512-42BdW3yeZXXp0+4MDcp1CnHb2KwMMWlOjediUMqKQjDa4w06H/ufg8aopZt4gJR8WPU1PL9QzmrXUhTJstbITg==","signatures":[{"sig":"MEUCIQDNt6pwQOtc9eN1ybx4VNlEcYSBOJNdqXJx0PqIOlOfSAIgDLW4QD9Fr6HdDcTc970rpX3d3ziVKw6I5iqC39X9YnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adkinn%2ffifth-edition-srd-mcp@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":876574},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"e6f3371605b874cadd1d55c73c7b9e69692e3301","scripts":{"test":"node --experimental-test-snapshots --test dist/test/*.test.js","build":"tsc","prepack":"npm run prepare","prepare":"node -e \"require('fs').cpSync('../data', './data', {recursive: true, force: true})\" && npm run build","test:build":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49745ff5-4d3d-43e2-a41f-71990d359c5d"}},"repository":{"url":"git+https://github.com/adkinn/srd-5.2.1.git","type":"git"},"_npmVersion":"12.0.2","description":"stdio MCP server for SRD 5.2.1 monsters and conditions (2024 rules)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/fifth-edition-srd-mcp_1.2.1_1787787611421_0.5498001872734422","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@adkinn/fifth-edition-srd-mcp","version":"1.3.0","keywords":["mcp","srd","ttrpg","fifth-edition","5e","2024"],"author":{"url":"https://adamkinney.com","name":"Adam Kinney","email":"npm@adamkinney.com"},"license":"SEE LICENSE IN LICENSE","_id":"@adkinn/fifth-edition-srd-mcp@1.3.0","maintainers":[{"name":"adkinn","email":"adam.kinney@gmail.com"}],"homepage":"https://github.com/adkinn/srd-5.2.1#readme","bugs":{"url":"https://github.com/adkinn/srd-5.2.1/issues"},"bin":{"fifth-edition-srd-mcp":"dist/index.js"},"dist":{"shasum":"118c7723623f0b4cb13b3d8ae823f2304acd4ec0","tarball":"https://registry.npmjs.org/@adkinn/fifth-edition-srd-mcp/-/fifth-edition-srd-mcp-1.3.0.tgz","fileCount":37,"integrity":"sha512-n1D/AukIfzo4P8+pqtP9G5dqYW1RURgVt4QulFjwjkjJjECv5aUOyzqRTvLSfaN719HBZLUcsWf36uwHNdNGYw==","signatures":[{"sig":"MEQCIAlLuJ3HP/8GE+YCL9qnpX0qqW/pWysc54m/eF/p6t1PAiAzezNG/RievMeJ+Svv3WD2yZVRporzvwl40Hjff09oMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adkinn%2ffifth-edition-srd-mcp@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":876635},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"e3fa4fd602fb4540a5b169c65eed74e5e1553cbe","scripts":{"lint":"node scripts/lint-package.mjs","test":"npm run lint && npm run build && npm run build:test && node --test dist-test/test/*.test.js","build":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc","prepare":"node scripts/prepare-package.mjs && npm run build","build:test":"node -e \"require('fs').rmSync('dist-test', { recursive: true, force: true })\" && tsc -p tsconfig.test.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49745ff5-4d3d-43e2-a41f-71990d359c5d"}},"repository":{"url":"git+https://github.com/adkinn/srd-5.2.1.git","type":"git"},"_npmVersion":"12.0.2","description":"stdio MCP server for SRD 5.2.1 monsters and conditions (2024 rules)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/fifth-edition-srd-mcp_1.3.0_1788032210769_0.2671618843309982","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@adkinn/fifth-edition-srd-mcp","version":"1.4.0","description":"MCP server for SRD 5.2.1 monsters and conditions (2024 rules) — run over stdio or embed it","type":"module","bin":{"fifth-edition-srd-mcp":"dist/index.js"},"main":"./dist/index.js","exports":{".":"./dist/index.js","./server":{"types":"./dist/server.d.ts","default":"./dist/server.js"},"./data/monsters.json":"./data/monsters.json","./data/conditions.json":"./data/conditions.json","./package.json":"./package.json"},"scripts":{"build":"node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\" && tsc","build:test":"node -e \"require('fs').rmSync('dist-test', { recursive: true, force: true })\" && tsc -p tsconfig.test.json","lint":"node scripts/lint-package.mjs","prepare":"node scripts/prepare-package.mjs && npm run build","test":"npm run build && npm run lint && npm run build:test && node --test dist-test/test/*.test.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.30.0","zod":"^4.4.3"},"devDependencies":{"@types/node":"^20.19.43","typescript":"^7.0.2"},"engines":{"node":">=20"},"keywords":["mcp","srd","ttrpg","fifth-edition","5e","2024"],"license":"SEE LICENSE IN LICENSE","repository":{"type":"git","url":"git+https://github.com/adkinn/srd-5.2.1.git"},"homepage":"https://github.com/adkinn/srd-5.2.1#readme","bugs":{"url":"https://github.com/adkinn/srd-5.2.1/issues"},"author":{"name":"Adam Kinney","email":"npm@adamkinney.com","url":"https://adamkinney.com"},"gitHead":"59093fbd060d4f1e949bfb3ed1e528cbfcc20215","types":"./dist/index.d.ts","_id":"@adkinn/fifth-edition-srd-mcp@1.4.0","_nodeVersion":"24.19.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-h1Oc0Ov29wSbNJQKTDQE6M7Fsgm2CiUf2LaUBNvNL+rNfIHJM4ptFLBIFWn3u/PIFHXeqYhHGHGedVPHKJhxjA==","shasum":"8e65b2ff59ff4d7a6179bdf33a433a15fcb92d15","tarball":"https://registry.npmjs.org/@adkinn/fifth-edition-srd-mcp/-/fifth-edition-srd-mcp-1.4.0.tgz","fileCount":41,"unpackedSize":881815,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adkinn%2ffifth-edition-srd-mcp@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBRwhR8BVe5i07U1MdKT21jhQGTmnamDciUQu/q8DZtQIhAI8QoOhUerR1auQoVFq17qJd08A2fcjvsVyDCAW1e6Xw"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:49745ff5-4d3d-43e2-a41f-71990d359c5d"}},"directories":{},"maintainers":[{"name":"adkinn","email":"adam.kinney@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fifth-edition-srd-mcp_1.4.0_1788112446269_0.8788334526154638"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T22:54:57.569Z","modified":"2026-08-30T17:54:06.709Z","1.2.0":"2026-08-26T22:54:57.908Z","1.2.1":"2026-08-26T23:40:11.578Z","1.3.0":"2026-08-29T19:36:50.940Z","1.4.0":"2026-08-30T17:54:06.408Z"},"bugs":{"url":"https://github.com/adkinn/srd-5.2.1/issues"},"author":{"name":"Adam Kinney","email":"npm@adamkinney.com","url":"https://adamkinney.com"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/adkinn/srd-5.2.1#readme","keywords":["mcp","srd","ttrpg","fifth-edition","5e","2024"],"repository":{"type":"git","url":"git+https://github.com/adkinn/srd-5.2.1.git"},"description":"MCP server for SRD 5.2.1 monsters and conditions (2024 rules) — run over stdio or embed it","maintainers":[{"name":"adkinn","email":"adam.kinney@gmail.com"}],"readme":"# @adkinn/fifth-edition-srd-mcp\n\nAn MCP server for the SRD 5.2.1 monster and condition dataset. Run it as a\nstdio subprocess, or import it and attach your own transport.\n\n## Install\n\nAdd the package as a stdio MCP server using `npx`:\n\n```json\n{\n  \"mcpServers\": {\n    \"srd-521\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@adkinn/fifth-edition-srd-mcp\"]\n    }\n  }\n}\n```\n\nThe server provides `lookup_monster`, `lookup_condition`, `search_monsters`,\nand `license`. Every successful data response includes the required CC BY 4.0\nattribution in `_license`.\n\nThe server requires Node 20 or newer. Source, complete documentation, dataset\nschemas, and attribution are available at\n<https://github.com/adkinn/srd-5.2.1>.\n\n## Embedding it\n\nThe stdio bin is one way to run the server, not the only one. The `/server`\nsubpath exports the server factory and the query layer with no filesystem\naccess, so the same code runs in a browser-standard runtime — a Cloudflare\nWorker, Deno, an edge function — where the dataset is inlined at build time\nrather than read from disk:\n\n```js\nimport { createSrdData, createSrdServer } from \"@adkinn/fifth-edition-srd-mcp/server\";\nimport monsters from \"@adkinn/fifth-edition-srd-mcp/data/monsters.json\";\nimport conditions from \"@adkinn/fifth-edition-srd-mcp/data/conditions.json\";\n\nconst server = createSrdServer(\"1.4.0\", createSrdData(monsters, conditions));\nawait server.connect(yourTransport);\n```\n\n`createSrdData` also returns the queries directly — `findMonster`,\n`findCondition`, `searchMonsters`, plus the `monsters` and `conditions` arrays\nand the `license` string — if you want the dataset without the MCP layer.\n\n## License\n\nThe MCP server code is MIT licensed. The bundled dataset is separately licensed\nunder CC BY 4.0; see `data/LICENSE` for its attribution requirements.\n","readmeFilename":"README.md"}