{"_id":"@cyanheads/fbi-crime-mcp-server","_rev":"9-06b478b30f3b56a4561521258c052472","name":"@cyanheads/fbi-crime-mcp-server","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.1","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.1","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"d8d046115845d0f6a7010d7dafb0e8f4a7da78e2","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.1.tgz","fileCount":79,"integrity":"sha512-USpavli2E/cI9jbsgkcMhfKJRT6OeYc/8mRBib7DarWVSDKDnXc5bYKttTxwJYxhzEPN7MGH1ZxO/4+Pl+PWfA==","signatures":[{"sig":"MEUCIBKt9sgCuDRaduvTHtCZZhoLsjuTBoqk77q1Cpsl8GctAiEA5+XA34fYvUmSKnK0Kn+YyLwgPUNcb9iG69NQAxMsASU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177071},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"d8d046115845d0f6a7010d7dafb0e8f4a7da78e2","engines":{"bun":">=1.3.0","node":">=24.0.0"},"scripts":{"test":"vitest run","tree":"tsx scripts/tree.ts","build":"tsx scripts/build.ts","clean":"tsx scripts/clean.ts","start":"node dist/index.js","bundle":"npm run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb","format":"biome check --write --unsafe .","rebuild":"tsx scripts/clean.ts && tsx scripts/build.ts","devcheck":"tsx scripts/devcheck.ts","lint:mcp":"tsx scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http node dist/index.js","list-skills":"tsx scripts/list-skills.ts","start:stdio":"MCP_TRANSPORT_TYPE=stdio node dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","lint:packaging":"tsx scripts/lint-packaging.ts","changelog:build":"tsx scripts/build-changelog.ts","changelog:check":"tsx scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-USpavli2E/cI9jbsgkcMhfKJRT6OeYc/8mRBib7DarWVSDKDnXc5bYKttTxwJYxhzEPN7MGH1ZxO/4+Pl+PWfA==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.9.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.3","ignore":"^7.0.5","vitest":"^4.1.7","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^25.9.1","@biomejs/biome":"^2.4.15"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.1_1779765566403_0.7105444761152515","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.2","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.2","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"845ba28f8204c77bb129a3d4c95a2ee2a78560f3","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.2.tgz","fileCount":80,"integrity":"sha512-5UXSGjHy4kstB8+vpGG8lrJAm4medvGMC2zsuKRITJAjVJVitL7T+E+uRw/H4rbEkX2xB6smpgn6nsXr5MeMCw==","signatures":[{"sig":"MEQCIA+seFFLqLP0RmIgX4v8QP2u2SmpFiIIzub4Way6xNQJAiA08cOaeNi3MJx7Xkhk03aUi0A4kkVBhEnm0YIIHrzwzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177713},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"845ba28f8204c77bb129a3d4c95a2ee2a78560f3","engines":{"bun":">=1.3.0","node":">=24.0.0"},"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"vitest run","tree":"tsx scripts/tree.ts","build":"tsx scripts/build.ts","clean":"tsx scripts/clean.ts","start":"node dist/index.js","bundle":"npm run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb","format":"biome check --write --unsafe .","rebuild":"tsx scripts/clean.ts && tsx scripts/build.ts","devcheck":"tsx scripts/devcheck.ts","lint:mcp":"tsx scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http node dist/index.js","list-skills":"tsx scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio node dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","lint:packaging":"tsx scripts/lint-packaging.ts","changelog:build":"tsx scripts/build-changelog.ts","changelog:check":"tsx scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-5UXSGjHy4kstB8+vpGG8lrJAm4medvGMC2zsuKRITJAjVJVitL7T+E+uRw/H4rbEkX2xB6smpgn6nsXr5MeMCw==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.9.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.22.3","ignore":"^7.0.5","vitest":"^4.1.7","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^25.9.1","@biomejs/biome":"^2.4.15"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.2_1779765673285_0.6846294697957676","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.3","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/fbi-crime-mcp-server#readme)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.3","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"00a86c776d3ac8eb2d3d9a4e822fa5a1e8ffd149","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.3.tgz","fileCount":77,"integrity":"sha512-XT4IeCwy+TECuR6Dc0iOYPU8uDC2sTSh4xG8/YgjxFeuxQR54Am9tlO4gWgCK3FeZfA34nbNEm3TgY73qScsDQ==","signatures":[{"sig":"MEUCIBVAOq6YyB974K++yuM1jW6Ci7GdwELl03TQsmeviIzjAiEAhWcix0DHPHBdMZMBTo+m+zYW704xh5rncK/gRlPGB4I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193796},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"00a86c776d3ac8eb2d3d9a4e822fa5a1e8ffd149","engines":{"bun":">=1.3.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb","format":"biome check --write --unsafe .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","lint:packaging":"bun run scripts/lint-packaging.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-XT4IeCwy+TECuR6Dc0iOYPU8uDC2sTSh4xG8/YgjxFeuxQR54Am9tlO4gWgCK3FeZfA34nbNEm3TgY73qScsDQ==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.9.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.2","devDependencies":{"ignore":"^7.0.5","vitest":"^4.1.7","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^25.9.1","@biomejs/biome":"^2.4.15"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.3_1779781392978_0.3885938172210359","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.4","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/fbi-crime-mcp-server#readme)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.4","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"e5dffba7e635696bc17ffd7e10ed4cbd5f271a3e","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.4.tgz","fileCount":77,"integrity":"sha512-du8hbLp8LdmDMexkC8vUVcBy+M5qt5JFaGuI7XK7WCqmemxbpdlzLuCzPHvsIBUfChnsOVQ18cx1FC3HJBJVFg==","signatures":[{"sig":"MEUCIQCbbg/rUANm5xl9aDN/nuka84mVxwRDcTb8mfvZg9SSBQIgRhyPRMen6EgxWmVJgO9tdDXhfELfuAImoMdVKLIfQpM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":196920},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"e5dffba7e635696bc17ffd7e10ed4cbd5f271a3e","engines":{"bun":">=1.3.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-du8hbLp8LdmDMexkC8vUVcBy+M5qt5JFaGuI7XK7WCqmemxbpdlzLuCzPHvsIBUfChnsOVQ18cx1FC3HJBJVFg==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.10.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"ignore":"^7.0.5","vitest":"^4.1.8","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^25.9.3","@biomejs/biome":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.4_1781323849582_0.5501959855674985","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.5","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/fbi-crime-mcp-server#readme)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.5","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"0b54a58ee0e250d6180261dc1f2632e88410db56","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.5.tgz","fileCount":77,"integrity":"sha512-IX9AgkWnmQdJObzn3/nwLdLltOsF4gSYknYtRCEuMBA7qzreEdTT5LOu+Ebw3L5BpF2/XJRLIvq8Wq8Yp93o+g==","signatures":[{"sig":"MEYCIQCUAvN3pgs+wbiPIuHbBfFPjpwwgb/OIceFD9aFntiZYAIhALjC7G7UnsRpXhGGcMaPb48LFgZ09H+hw3dAB5e2DwhX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198058},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"0b54a58ee0e250d6180261dc1f2632e88410db56","engines":{"bun":">=1.3.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-IX9AgkWnmQdJObzn3/nwLdLltOsF4gSYknYtRCEuMBA7qzreEdTT5LOu+Ebw3L5BpF2/XJRLIvq8Wq8Yp93o+g==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.10.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"ignore":"^7.0.5","vitest":"^4.1.9","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^25.9.4","@biomejs/biome":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.5_1781923501002_0.3308283864790358","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.6","keywords":["mcp","mcp-server","model-context-protocol","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/fbi-crime-mcp-server#readme)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.6","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"35571ee5e80766f70d3db336a70e787279786fae","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.6.tgz","fileCount":77,"integrity":"sha512-Bzfe+0WLD+wQFMWNjT3R2DRsVjsgX1vN44geeTJHxFWR45qYR0UXIlyWTlg8GSdUgrTkFPTTDufpBq6NrzNH3A==","signatures":[{"sig":"MEUCIAxEaA7sP46au4fxJNUhJwh1bhCTeFgr1Kpvp6rM9iGcAiEAgI2TbDVgOzd9Z29lepCgjC2WRZFeRyv0OI2NW6nwSng=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198058},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"35571ee5e80766f70d3db336a70e787279786fae","engines":{"bun":">=1.3.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-Bzfe+0WLD+wQFMWNjT3R2DRsVjsgX1vN44geeTJHxFWR45qYR0UXIlyWTlg8GSdUgrTkFPTTDufpBq6NrzNH3A==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.10.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"ignore":"^7.0.5","vitest":"^4.1.9","depcheck":"^1.4.7","tsc-alias":"^1.8.17","typescript":"^6.0.3","@types/node":"^26.0.0","@biomejs/biome":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.6_1781932626539_0.993512592658379","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.7","keywords":["mcp","mcp-server","model-context-protocol","stdio","streamable-http","typescript","bun","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.7","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"9a49d665567380c0cfbf1af5545a07b9e91c841a","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.7.tgz","fileCount":88,"integrity":"sha512-9cbxCAwPCUEIGd9EkoHq2SYWeqZvF3S+0D/Vt7jwBFMYKiY1onmakZ1iDiAB3HhKClPgN+PAS0nAvWrE0Pp08A==","signatures":[{"sig":"MEQCIQDr0LsVDM6X9Mb/JCKw1UBwyyiItQ8CUMONs8/KPLb53gIfE6UNbNIfF5U2it1VH9pTViuEjMuCK31WzzMGc6WwuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCGupATSLaPLkKccJyHe9XSDnOQn0oDEbDsNib7C+YbcwIhAJyyRCaz0Gu9mNT2bKo5T0dpYQobSz284/YYWBnYIqH9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":256857},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"9a49d665567380c0cfbf1af5545a07b9e91c841a","engines":{"bun":">=1.3.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-9cbxCAwPCUEIGd9EkoHq2SYWeqZvF3S+0D/Vt7jwBFMYKiY1onmakZ1iDiAB3HhKClPgN+PAS0nAvWrE0Pp08A==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"26.3.0","dependencies":{"zod":"^4.4.3","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.12.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.4.0","devDependencies":{"ignore":"^7.0.6","vitest":"^4.1.11","depcheck":"^1.4.7","tsc-alias":"^1.9.2","typescript":"^7.0.2","@types/node":"^26.2.0","@biomejs/biome":"^2.5.9","@socketsecurity/bun-security-scanner":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.7_1787328516635_0.6117100808444422","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@cyanheads/fbi-crime-mcp-server","version":"0.1.8","keywords":["mcp","mcp-server","model-context-protocol","stdio","streamable-http","typescript","bun","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"author":"Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)","license":"Apache-2.0","_id":"@cyanheads/fbi-crime-mcp-server@0.1.8","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"bin":{"fbi-crime-mcp-server":"dist/index.js"},"dist":{"shasum":"21735151ecfd10e51aac0bc1e6d6d7962638cedc","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.1.8.tgz","fileCount":89,"integrity":"sha512-zvbo5ioqdSWDWneuU1wBfzon1YM+BOo9hzyS0z8sMXfaEir81vOEskK0qSC+ZO09hi7KnUcyP8VAdUOBphlQAg==","signatures":[{"sig":"MEUCIQDXC4NFiIvDWoRVfCVxWUDdK+161DZp74eDze3qBeS4KQIgevdqA8Iux5/dyddfrBqreltPx5BkVTDCiEie+0NUhcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICdGvnnQD/pRDWJt91I8badTpcGvWcLtaTFCKx47CfYVAiEAxMkO1SXrgO7yr4+zyLBs7+hB/4Esx5vn3y4d9g9OplE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275169},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"21735151ecfd10e51aac0bc1e6d6d7962638cedc","engines":{"bun":">=1.4.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","audit:fix":"bun audit fix","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"_integrity":"sha512-zvbo5ioqdSWDWneuU1wBfzon1YM+BOo9hzyS0z8sMXfaEir81vOEskK0qSC+ZO09hi7KnUcyP8VAdUOBphlQAg==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"_nodeVersion":"26.3.0","dependencies":{"zod":"^4.6.5","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.13.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.4.0","devDependencies":{"ignore":"^7.0.9","vitest":"^5.0.1","depcheck":"^1.4.7","tsc-alias":"^1.9.5","typescript":"^7.0.2","@types/node":"^26.6.2","@biomejs/biome":"^2.5.14","@socketsecurity/bun-security-scanner":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/fbi-crime-mcp-server_0.1.8_1790051017557_0.6291684738680532","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@cyanheads/fbi-crime-mcp-server@0.2.0","bin":{"fbi-crime-mcp-server":"dist/index.js"},"bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"dist":{"shasum":"72bdda5889cc54615df5bca706216f0c598c4063","tarball":"https://registry.npmjs.org/@cyanheads/fbi-crime-mcp-server/-/fbi-crime-mcp-server-0.2.0.tgz","fileCount":90,"integrity":"sha512-F/vJtpp+zw5UYHlwfQB/Tuk+jwS2V+wHRpn56lNI7o7eipMVGxY39TyyGKCFEVqhDLQujyKSk+rPqTKbSb9wHQ==","signatures":[{"sig":"MEUCIQCk80U2gp56hmt8Xrcew0QUUvIbYWVWc9q2z8FT1ckZyQIgPVQdSypZrmQN3EptSbcSs06K0UlUHnpjeSdEr0X5FN8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGPDKB0EgE/GFJNF0jjYF/k5DRHKTRNzuuLe+xhsgv9DAiABrR2EiS9VSk3aCgQi5HKzmNBWs9ZlQ3TAV0ejPDmC5w=="}],"unpackedSize":295390},"main":"dist/index.js","name":"@cyanheads/fbi-crime-mcp-server","type":"module","types":"dist/index.d.ts","author":"Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)","shasum":"72bdda5889cc54615df5bca706216f0c598c4063","engines":{"bun":">=1.4.0","node":">=24.0.0"},"funding":[{"url":"https://github.com/sponsors/cyanheads","type":"github"},{"url":"https://www.buymeacoffee.com/cyanheads","type":"buy_me_a_coffee"}],"license":"Apache-2.0","mcpName":"io.github.cyanheads/fbi-crime-mcp-server","scripts":{"test":"bunx vitest run","tree":"bun run scripts/tree.ts","build":"bun run scripts/build.ts","clean":"bun run scripts/clean.ts","bundle":"bun run build && npx -y @anthropic-ai/mcpb pack . dist/fbi-crime-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/fbi-crime-mcp-server.mcpb","format":"biome check --write .","rebuild":"bun run scripts/clean.ts && bun run build","devcheck":"bun run scripts/devcheck.ts","lint:mcp":"bun run scripts/lint-mcp.ts","audit:fix":"bun audit fix","start:http":"MCP_TRANSPORT_TYPE=http bun ./dist/index.js","list-skills":"bun run scripts/list-skills.ts","publish-mcp":"mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish","start:stdio":"MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js","audit:refresh":"rm -f bun.lock && bun install && bun audit","format:unsafe":"biome check --write --unsafe .","lint:packaging":"bun run scripts/lint-packaging.ts","release:github":"bun run scripts/release-github.ts","changelog:build":"bun run scripts/build-changelog.ts","changelog:check":"bun run scripts/build-changelog.ts --check"},"version":"0.2.0","_npmUser":{"name":"cyanheads","email":"casey@caseyjhand.com"},"homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","keywords":["mcp","mcp-server","model-context-protocol","stdio","streamable-http","typescript","bun","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"_integrity":"sha512-F/vJtpp+zw5UYHlwfQB/Tuk+jwS2V+wHRpn56lNI7o7eipMVGxY39TyyGKCFEVqhDLQujyKSk+rPqTKbSb9wHQ==","repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"_npmVersion":"10.8.3","description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","directories":{},"maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"_nodeVersion":"26.3.0","dependencies":{"zod":"^4.6.5","pino-pretty":"^13.1.3","@cyanheads/mcp-ts-core":"^0.13.10"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.4.2","devDependencies":{"ignore":"^7.0.10","vitest":"^5.0.2","depcheck":"^1.4.7","tsc-alias":"^1.9.5","typescript":"^7.0.2","@types/node":"^26.6.3","@biomejs/biome":"^2.5.14","@socketsecurity/bun-security-scanner":"^1.1.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fbi-crime-mcp-server_0.2.0_1790762239782_0.5813633098799849"}}},"time":{"created":"2026-05-26T03:19:26.219Z","modified":"2026-09-30T09:57:20.054Z","0.1.1":"2026-05-26T03:19:26.547Z","0.1.2":"2026-05-26T03:21:13.431Z","0.1.3":"2026-05-26T07:43:13.149Z","0.1.4":"2026-06-13T04:10:49.735Z","0.1.5":"2026-06-20T02:45:01.143Z","0.1.6":"2026-06-20T05:17:06.683Z","0.1.7":"2026-08-21T16:08:36.852Z","0.1.8":"2026-09-22T04:23:37.676Z","0.2.0":"2026-09-30T09:57:19.876Z"},"bugs":{"url":"https://github.com/cyanheads/fbi-crime-mcp-server/issues"},"author":"Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)","license":"Apache-2.0","homepage":"https://github.com/cyanheads/fbi-crime-mcp-server#readme","keywords":["mcp","mcp-server","model-context-protocol","stdio","streamable-http","typescript","bun","crime-data","fbi","ucr","nibrs","hate-crimes","public-safety","law-enforcement","crime-statistics","cde"],"repository":{"url":"git+https://github.com/cyanheads/fbi-crime-mcp-server.git","type":"git"},"description":"Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.","maintainers":[{"name":"cyanheads","email":"casey@caseyjhand.com"}],"readme":"<div align=\"center\">\n  <h1>@cyanheads/fbi-crime-mcp-server</h1>\n  <p><b>Exposes the FBI Crime Data Explorer API — UCR crime estimates, NIBRS incident breakdowns, hate crimes, arrests, human trafficking, and agency participation data via MCP. STDIO or Streamable HTTP.</b>\n  <div>12 Tools (3 active via CDE API, 9 decommissioned) • 2 Resources</div>\n  </p>\n</div>\n\n<div align=\"center\">\n\n[![Version](https://img.shields.io/badge/Version-0.2.0-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/fbi-crime-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-2.1.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/fbi-crime-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/fbi-crime-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.2-blueviolet.svg?style=flat-square)](https://bun.sh/)\n\n</div>\n\n<div align=\"center\">\n\n[![Install in Claude Desktop](https://img.shields.io/badge/Install_in-Claude_Desktop-D97757?style=for-the-badge&logo=anthropic&logoColor=white)](https://github.com/cyanheads/fbi-crime-mcp-server/releases/latest/download/fbi-crime-mcp-server.mcpb) [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=fbi-crime-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjeWFuaGVhZHMvZmJpLWNyaW1lLW1jcC1zZXJ2ZXIiXSwiZW52Ijp7IkZCSV9BUElfS0VZIjoieW91ci1hcGkta2V5In19) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22fbi-crime-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads%2Ffbi-crime-mcp-server%22%5D%2C%22env%22%3A%7B%22FBI_API_KEY%22%3A%22your-api-key%22%7D%7D)\n\n[![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-67E8F9?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)\n\n</div>\n\n---\n\n## Overview\n\nFBI Crime Data Explorer (CDE) data — monthly UCR offense rates and counts by national, state, or agency scope, plus Law Enforcement Officers Killed and Assaulted (LEOKA) statistics. Query crime trends and officer-safety data from any MCP client; the CDE's legacy UCR endpoints (agency search, NIBRS breakdowns, hate crimes, arrests, human trafficking, participation) have been decommissioned by the FBI, and their tools and resources return an error. Runs as a stdio process or a local Streamable HTTP server.\n\n### Tools\n\n| Tool | Description |\n|:---|:---|\n| `fbi_get_crime_estimates` | Monthly UCR offense rates and counts by national, state, or agency scope, from the CDE summarized endpoint |\n| `fbi_get_agency_offenses` | Same CDE summarized endpoint, scoped to a single agency, state, or the national level |\n| `fbi_get_leoka` | Officer fatality, weapon, and circumstance data (LEOKA) by month or year-to-date |\n| `fbi_get_arson` | [UNAVAILABLE] Redirects to `fbi_get_crime_estimates` with `offense=\"arson\"` |\n| `fbi_search_agencies` | [UNAVAILABLE] UCR agency search backend decommissioned |\n| `fbi_get_agency` | [UNAVAILABLE] UCR agency profile backend decommissioned |\n| `fbi_get_arrests` | [UNAVAILABLE] UCR arrests backend decommissioned |\n| `fbi_get_hate_crimes` | [UNAVAILABLE] UCR hate crimes backend decommissioned |\n| `fbi_get_human_trafficking` | [UNAVAILABLE] UCR human trafficking backend decommissioned |\n| `fbi_get_nibrs_breakdown` | [UNAVAILABLE] UCR NIBRS breakdown backend decommissioned |\n| `fbi_get_participation` | [UNAVAILABLE] UCR and CDE participation backends decommissioned |\n| `fbi_list_code_table` | [UNAVAILABLE] UCR code table backend decommissioned |\n\n### Resources\n\n| Resource | Description |\n|:---|:---|\n| `fbi://agency/{ori}` | [UNAVAILABLE] Agency profile by ORI; UCR backend decommissioned |\n| `fbi://state/{state_abbr}` | [UNAVAILABLE] State participation overview; CDE backend decommissioned |\n\n## Capability reference\n\n### `fbi_get_crime_estimates` <sub>tool</sub>\n\n- `scope`: `national`, `state` (requires two-letter `state_abbr`), or `agency` (requires nine-character `ori`); `offense`: `violent-crime`, `property-crime`, `robbery`, `burglary`, `larceny`, `motor-vehicle-theft`, `arson`, `aggravated-assault`, `rape`, or `homicide`. Set `from_year`/`from_month` through `to_year`/`to_month` (2000–2030; months default to January and December).\n- Returns per-100k rates and raw actual/clearance counts by month, plus `data_last_updated` when the CDE reports a refresh date\n- Typed errors: `scope_param_missing` (missing `state_abbr`/`ori` for the chosen scope), `no_data`\n\n---\n\n### `fbi_get_agency_offenses` <sub>tool</sub>\n\n- Same CDE summarized endpoint as `fbi_get_crime_estimates`, scoped by `scope`: `national`, `state` (`state_abbr`), or `agency` (`ori`)\n- Same `offense` enum and `from_year`/`from_month`/`to_year`/`to_month` range (years 2000–2030)\n- Typed errors: `scope_param_missing`, `no_data`\n\n---\n\n### `fbi_get_leoka` <sub>tool</sub>\n\n- `period`: `ytd` (year-to-date) or `monthly` (requires `month`, 1–12); `year` is required (2000–2030)\n- `totals` preserves the six fields from `incidents_victim_officer_totals_ytd`: `total_officers`, `total_incidents`, `total_officers_dod`, `total_officers_doi`, `total_incidents_dod`, and `total_incidents_doi`. This CDE YTD block appears in both periods; it is not a combined-fatality count or a requested-month total. The upstream `dod`/`doi` abbreviations have unspecified interpretation.\n- Totals field migration: replace `total_officers_felonious` with `total_officers_dod`, `total_officers_accidental` with `total_officers_doi`, `total_incidents_felonious` with `total_incidents_dod`, and `total_incidents_accidental` with `total_incidents_doi`. The four aliases are removed; values are unchanged.\n- Category-to-count maps: `weapons`, `officer_activity`, `lighting_conditions`, `body_armor_worn`, `location_of_attack`, `offender_previously_known_to_agency`, `offender_prior_mental_illness`, `offender_prior_relationship`, `officer_circumstances_time_of_attack`, `officer_incident_type`, `officer_type_of_assignment`, and `weather_conditions`.\n- `offender_demographic` and `officer_demographic` map demographic dimensions to category counts. `officer_death_by_time_of_day` maps killing types to literal hour keys (including `-1`); `officer_death_by_month` maps killing types to years to month counts, retaining comparison years and zeros.\n- `deaths_by_region` and optional `deaths_by_year` retain explicitly classified killing types such as `Felonious`/`Accidental`. Monthly responses omit the annual series and provide month-specific breakdowns alongside the separate CDE YTD totals block.\n- Structured and text output include every returned category and path. Absent/null sections are omitted, empty maps have no reported entries, null subgroups/counts are unavailable, and zero remains zero.\n- Typed errors: `month_required` (monthly period without `month`), `no_data`\n\n---\n\n### `fbi_get_arson` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the dedicated UCR arson endpoint is decommissioned\n- Recovery hint redirects to `fbi_get_crime_estimates` with `offense=\"arson\"`, which serves arson data via the CDE summarized endpoint\n- Input fields (`scope`, `state_abbr`, `since_year`, `until_year`) are accepted but unused\n\n---\n\n### `fbi_search_agencies` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR agency search backend (`crime-data-api.fr.cloud.gov`) is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov or the FBI UCR program\n- Input fields (`state_abbr`, `agency_type`, `city`, `population_group`, `page`, `per_page`) are accepted but unused\n\n---\n\n### `fbi_get_agency` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR agency profile backend is decommissioned, with no CDE replacement identified\n- Recovery hint points to cde.ucr.cjis.gov\n- `ori` input is accepted but unused\n\n---\n\n### `fbi_get_arrests` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR arrests backend is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov or FBI bulk CSV downloads\n- `since_year`/`until_year` inputs are accepted but unused\n\n---\n\n### `fbi_get_hate_crimes` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR hate crimes backend is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov\n- Input fields (`scope`, `state_abbr`, `since_year`, `until_year`, `cross_offense`) are accepted but unused\n\n---\n\n### `fbi_get_human_trafficking` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR human trafficking backend is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov\n- Input fields (`scope`, `state_abbr`, `ori`, `since_year`, `until_year`) are accepted but unused\n\n---\n\n### `fbi_get_nibrs_breakdown` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR NIBRS breakdown backend is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov\n- Input fields (`dimension`, `variable`, `scope`, `state_abbr`, `offense_name`, `since_year`, `until_year`) are accepted but unused\n\n---\n\n### `fbi_get_participation` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — both the UCR legacy backend and the CDE `/LATEST/participation/` path are decommissioned (404)\n- Recovery hint points to cde.ucr.cjis.gov\n- Input fields (`scope`, `state_abbr`, `year`, `nibrs_only`, `page`, `per_page`) are accepted but unused\n\n---\n\n### `fbi_list_code_table` <sub>tool</sub>\n\n- Always throws `ServiceUnavailable` — the UCR code table backend is decommissioned\n- Recovery hint points to cde.ucr.cjis.gov\n- `table` input (one of 10 code-table names) is accepted but unused\n\n---\n\n### `fbi://agency/{ori}` <sub>resource</sub>\n\n- Always throws `ServiceUnavailable` on read — the UCR agency profile backend is decommissioned\n- `ori` is the 9-character ORI (Originating Agency Identifier) code\n\n---\n\n### `fbi://state/{state_abbr}` <sub>resource</sub>\n\n- Always throws `ServiceUnavailable` on read — the CDE `/LATEST/participation/state/` path returns 404\n- `state_abbr` is the two-letter US state abbreviation\n\n## Features\n\nBuilt on [`@cyanheads/mcp-ts-core`](https://github.com/cyanheads/mcp-ts-core): stdio and Streamable HTTP transports, pluggable auth (`none` / `jwt` / `oauth`), swappable storage (`in-memory`, `filesystem`, `Supabase`, `Cloudflare KV/R2/D1`), structured logging with optional OpenTelemetry tracing.\n\nFBI CDE-specific:\n\n- CDE summarized endpoint (`/cde/summarized/`) for national, state, and per-agency offense rates and counts across 10 offense types\n- CDE LEOKA endpoint (`/cde/leoka/`) for officer fatality, weapon, and circumstance data by month or year-to-date\n- `DEMO_KEY` works without registration (shared, rate-limited pool); a registered api.data.gov key raises throughput\n- 9 of 12 tools and both resources return a `ServiceUnavailable` error — the legacy UCR backend (`crime-data-api.fr.cloud.gov`) was decommissioned; `fbi_get_arson` redirects callers to `fbi_get_crime_estimates`\n\nAgent-friendly output:\n\n- Typed error reasons (`scope_param_missing`, `no_data`, `month_required`, `endpoint_decommissioned`) each carry a recovery hint naming the next step or the cde.ucr.cjis.gov replacement\n- Sparse upstream fields surface as `null` rather than fabricated zeros, on the rate, clearance, and count fields of `fbi_get_crime_estimates` and `fbi_get_agency_offenses`\n- `data_last_updated` echoes the CDE's own refresh timestamp so agents can reason about freshness\n\n## Getting started\n\nAdd the following to your MCP client configuration file. See the [FBI CDE API key registration](https://api.data.gov/signup/) to obtain a key — DEMO_KEY works for exploration but is rate-limited.\n\n```json\n{\n  \"mcpServers\": {\n    \"fbi-crime-mcp-server\": {\n      \"type\": \"stdio\",\n      \"command\": \"bunx\",\n      \"args\": [\"@cyanheads/fbi-crime-mcp-server@latest\"],\n      \"env\": {\n        \"MCP_TRANSPORT_TYPE\": \"stdio\",\n        \"MCP_LOG_LEVEL\": \"info\",\n        \"FBI_API_KEY\": \"your-api-key\"\n      }\n    }\n  }\n}\n```\n\nOr with npx (no Bun required):\n\n```json\n{\n  \"mcpServers\": {\n    \"fbi-crime-mcp-server\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@cyanheads/fbi-crime-mcp-server@latest\"],\n      \"env\": {\n        \"MCP_TRANSPORT_TYPE\": \"stdio\",\n        \"MCP_LOG_LEVEL\": \"info\",\n        \"FBI_API_KEY\": \"your-api-key\"\n      }\n    }\n  }\n}\n```\n\nOr with Docker:\n\n```json\n{\n  \"mcpServers\": {\n    \"fbi-crime-mcp-server\": {\n      \"type\": \"stdio\",\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\", \"-i\", \"--rm\",\n        \"-e\", \"MCP_TRANSPORT_TYPE=stdio\",\n        \"-e\", \"FBI_API_KEY=your-api-key\",\n        \"ghcr.io/cyanheads/fbi-crime-mcp-server:latest\"\n      ]\n    }\n  }\n}\n```\n\nFor Streamable HTTP, set the transport and start the server:\n\n```sh\nMCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 FBI_API_KEY=... bun run start:http\n# Server listens at http://localhost:3010/mcp\n```\n\n### Prerequisites\n\n- [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).\n- An [api.data.gov API key](https://api.data.gov/signup/) for the FBI CDE API. `DEMO_KEY` works for testing but is rate-limited to ~1,000 req/hr from a shared pool.\n\n### Installation\n\n1. **Clone the repository:**\n\n```sh\ngit clone https://github.com/cyanheads/fbi-crime-mcp-server.git\n```\n\n2. **Navigate into the directory:**\n\n```sh\ncd fbi-crime-mcp-server\n```\n\n3. **Install dependencies:**\n\n```sh\nbun install\n```\n\n4. **Configure environment:**\n\n```sh\ncp .env.example .env\n# edit .env and set FBI_API_KEY\n```\n\n## Configuration\n\nAll configuration is validated at startup via Zod schemas in `src/config/server-config.ts`. Key environment variables:\n\n| Variable | Description | Default |\n|:---------|:------------|:--------|\n| `FBI_API_KEY` | **Required.** api.data.gov API key for the FBI CDE API. Use `DEMO_KEY` for limited testing. | — |\n| `FBI_API_BASE_UCR` | Override UCR base URL. | `https://api.usa.gov/crime/fbi/ucr` |\n| `FBI_API_BASE_CDE` | Override CDE base URL. | `https://api.usa.gov/crime/fbi/cde` |\n| `FBI_REQUEST_TIMEOUT_MS` | Per-request timeout in milliseconds. | `15000` |\n| `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http`. | `stdio` |\n| `MCP_HTTP_PORT` | Port for HTTP server. | `3010` |\n| `MCP_HTTP_ENDPOINT_PATH` | HTTP endpoint path. | `/mcp` |\n| `MCP_SESSION_MODE` | HTTP session mode: `stateless`, `stateful`, or `auto` (resolves to `stateful`). The server declares `stateless` in code; set this to override it. | `stateless` |\n| `MCP_PUBLIC_URL` | Public origin override for TLS-terminating reverse-proxy deployments. | none |\n| `MCP_AUTH_MODE` | Auth mode: `none`, `jwt`, or `oauth`. | `none` |\n| `MCP_LOG_LEVEL` | Log level (RFC 5424). | `info` |\n| `MCP_GC_PRESSURE_INTERVAL_MS` | Opt-in Bun-only forced-GC pressure interval (ms). Try `60000` if RSS grows under sustained HTTP load. | `0` |\n| `LOGS_DIR` | Directory for log files (Node.js only). | `<project-root>/logs` |\n| `STORAGE_PROVIDER_TYPE` | Storage backend: `in-memory`, `filesystem`, `supabase`, `cloudflare-kv/r2/d1`. | `in-memory` |\n| `OTEL_ENABLED` | Enable [OpenTelemetry instrumentation](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | `false` |\n| `OTEL_EXPORTER_OTLP_ENDPOINT` | OTLP base URL for trace and metric export; does not enable log export. | none |\n| `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` | Explicit OTLP log export endpoint; the Docker image includes the required optional peers. | none |\n\nSee [`.env.example`](./.env.example) for the full list of optional overrides.\n\n## Running the server\n\n### Local development\n\n- **Build and run:**\n\n  ```sh\n  # One-time build\n  bun run rebuild\n\n  # Run the built server\n  bun run start:stdio\n  # or\n  bun run start:http\n  ```\n\n- **Run checks and tests:**\n\n  ```sh\n  bun run devcheck   # Lint, format, typecheck, security\n  bun run test       # Vitest test suite\n  bun run lint:mcp   # Validate MCP definitions against spec\n  ```\n\n### Docker\n\n```sh\ndocker build -t fbi-crime-mcp-server .\ndocker run --rm -e FBI_API_KEY=your-key -p 3010:3010 fbi-crime-mcp-server\n```\n\nThe Dockerfile defaults to HTTP transport, stateless session mode, and logs to `/var/log/fbi-crime-mcp-server`. OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.\n\n## Project structure\n\n| Directory | Purpose |\n|:----------|:--------|\n| `src/index.ts` | `createApp()` entry point — registers tools, resources, and inits services. |\n| `src/config` | Server-specific environment variable parsing and validation with Zod. |\n| `src/mcp-server/tools` | Tool definitions (`*.tool.ts`). 12 tools — 3 active via CDE API, 9 decommissioned. |\n| `src/mcp-server/resources` | Resource definitions (`*.resource.ts`). Agency and state overview resources. |\n| `src/services` | FBI CDE API service with response validation and shared retry/timeout logic. |\n| `tests/` | Unit and integration tests mirroring `src/`. |\n\n## Development guide\n\nSee [`CLAUDE.md`](./CLAUDE.md) for development guidelines and architectural rules. The short version:\n\n- Handlers throw, framework catches — no `try/catch` in tool logic\n- Use `ctx.log` for request-scoped logging, `ctx.state` for tenant-scoped storage\n- Register new tools and resources in the arrays passed to `createApp()` in `src/index.ts`\n- Active tools call the CDE API (`/cde/summarized/`, `/cde/leoka/`); decommissioned tools throw `serviceUnavailable` with a recovery hint\n- Wrap FBI API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields\n\n## Contributing\n\nIssues are welcome. Run checks and tests before submitting:\n\n```sh\nbun run devcheck\nbun run test\n```\n\n## License\n\nApache-2.0 — see [LICENSE](./LICENSE) for details.\n","readmeFilename":"README.md"}