{"_id":"@0xprotovox/deficlaw","_rev":"9-d766ffc1065fdcf04c0204cee7ff8483","name":"@0xprotovox/deficlaw","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.1":{"name":"@0xprotovox/deficlaw","version":"0.1.1","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.1.1","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"bab2cc8320aea8d782959b55f8b2222d3420ffa5","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.1.1.tgz","fileCount":44,"integrity":"sha512-/UyQQD7RisS1r+BNT9FdidhNCTrEZz0/xelzUUJGCJB3EcJ8Oejked1g75r069+Nn3UM7PLXS/q99NUJdcypEA==","signatures":[{"sig":"MEUCIAualoYD+vaoTiwybf5+H+0ySV9MUk+yO69OrflIzo/pAiEAkl6ZuUwBxR4gZxjZus/u167CNr5SN4U1zPreyJhFTrE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132301},"main":"dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"9ed652695d2a0fbb62875491c04ba6b9ba4ec5f5","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.1.1_1774381928660_0.861174486534338","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@0xprotovox/deficlaw","version":"0.2.0","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.2.0","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"c35cba20f622e56aaff0bed60d5ca8978c665855","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.2.0.tgz","fileCount":44,"integrity":"sha512-35HIK224bmM1oQXxQYRzyL/4eLYRzugKKeIgzpXyM36eM3KULLA3WH6W1Na0QeUdsMOHsw64fdGTe7WjgMx1Yw==","signatures":[{"sig":"MEUCIQD9oYLaB0vyhkgP8QOFQL/6JXBtpvLue+KGmDHArnrYVAIgBPDjF9hYAYbMc40Q2fTnmVlU3WUDEJlUi0D1RAo/a+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":176748},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ac6b0d32dc4b04143b827e22b0a008dd14e5b53e","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.2.0_1774383042594_0.729418549076265","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@0xprotovox/deficlaw","version":"0.3.0","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.3.0","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"702084e0a26b170ecdc8af701372d14fa7b9b4f8","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.3.0.tgz","fileCount":53,"integrity":"sha512-9nFwdaiGKoV5hU89gXZGBUAnX2pYBpMmWc9DPagVQ2ibL7w8CoPnibtfinDktH0b6NAC+cVBcVaCuN5+UlSOjw==","signatures":[{"sig":"MEUCIQD+bGmSjYYAW70PZND/572jbjBNC0MDZsWZYjpwavUEoAIgeEpoAbhUy27AWR7pOkNyKGM1uvNBLckHv4jsJhhLvig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":208181},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0860cb4f6c3a3961aab45cf0ece8263ced5bba3c","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.3.0_1774384159031_0.2865714309937437","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@0xprotovox/deficlaw","version":"0.4.0","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.4.0","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"406efb5628d79d832214d7b90a2443ac9d400692","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.4.0.tgz","fileCount":56,"integrity":"sha512-7AOIRBjnyy2IPd3CYQT96SjlJLlW6+69Yfnk+DgjILCsDB3UIsZxg6Sd6VbfaoMgsRArA9tufdpEzC545Y0QTg==","signatures":[{"sig":"MEYCIQC9gh51w45YeRUagzSRv22oTRIQbIQXPBtL7wrZJ/rs/AIhAPSADoibxtAAU1wxVY1n4usVomg4GQSwq3yM6veZedCa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":222844},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0ec0054437baed2cb9776ad1f13db9ce8be0d8e5","scripts":{"dev":"tsx src/index.ts","test":"tsx src/test.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.4.0_1774438835081_0.731160159170811","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@0xprotovox/deficlaw","version":"0.4.1","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.4.1","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"e3aaae874a6ac46fd9968c2a34af4ae110a85905","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.4.1.tgz","fileCount":56,"integrity":"sha512-kMOKfXoT6000zR9lEI/uAdwgGlXEU3KCejHten5yHohTwrCYx6BPry/Sfp2A2TibItOVFKaR4e0bcyME5IyCFw==","signatures":[{"sig":"MEUCIQCJS4J9fMlwJlNxfOK9iEwGzH7o/QEdoz9319uO9HPI5gIgAWHhawcV6eRPXw3suuZF2FoaILHxJMQHpY/NWFLUHTA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":224247},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"6a4ed1aa5054cf51d6f2f75d96c4b05f1e613c8d","scripts":{"dev":"tsx src/index.ts","test":"tsx src/test.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.4.1_1774438955503_0.43959972738097974","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@0xprotovox/deficlaw","version":"0.5.0","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.5.0","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"3eb9ee36f6df84896058b259824d6311e768ecbd","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.5.0.tgz","fileCount":68,"integrity":"sha512-izcUy/Q1jB71ZoadhZhgQ0EMd9tgpAGwq1qlGHq/9mh8IzadjcHPU7++hChAixRjh+Hc9B/tHgvJCTybUZ57pQ==","signatures":[{"sig":"MEUCIFwRZ8xmoVxt3RGwfBo1+I7GukHs+GzMJswQwjEh7JtCAiEA2nDJV4KWcRDnL9zw6y2lzTNYlACXAnMFfQm5xogPY1Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":267868},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"b87ead146c45645bc56e958262c340142264f2d9","scripts":{"dev":"tsx src/index.ts","test":"tsx src/test.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.5.0_1774447606446_0.3851991284196645","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@0xprotovox/deficlaw","version":"0.6.0","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.6.0","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"de472246f3c1c2e6f73fe67fd2dfbd5c40846459","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.6.0.tgz","fileCount":68,"integrity":"sha512-t3qIshumcAzrt8R+/OVWdx98LwfmCnyZSHYT6g+WtPcGD8jWowI6U5Y4VnUq8FOW39URPxIYEe40ZddLdv5/Fg==","signatures":[{"sig":"MEQCIFI2qdNjzZQYwhu3gySUm1g15cGhuUM/Vj7BE5qjmemRAiBJtALov1krAUk+t8kFPs0OeKWSuLFrHdxhSZmNuXoBuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":272370},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"6f337304beb09b13dd2092b3d7032716c4474fa5","scripts":{"dev":"tsx src/index.ts","test":"tsx src/test.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.6.0_1774597185341_0.5799198313620781","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@0xprotovox/deficlaw","version":"0.6.1","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"author":{"name":"0xprotovox"},"license":"MIT","_id":"@0xprotovox/deficlaw@0.6.1","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"homepage":"https://github.com/0xprotovox/deficlaw#readme","bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"bin":{"deficlaw":"dist/index.js"},"dist":{"shasum":"c583c2516c71c88900ef58da9b88ca87f76396df","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.6.1.tgz","fileCount":68,"integrity":"sha512-EczzaVro5un9kVCpJBOVXB8WCmpvFOv1tSIFL/zi/yOmU5n8f8BLEruXXm9XTQT+og+XwtFPUrrAipJJE0U54w==","signatures":[{"sig":"MEUCIQDP6RDtZyOq+mOVZSQCjDQ3ajZEYHfLsSwnbiExGG5cXQIgCZaLSgyGLWHiqvFKwUB6RwWfn+t9FWI+nDqvx/JWO4Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":268466},"main":"dist/server.js","type":"module","types":"dist/server.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c389f02706be9afde1df56d947323ea01e3807f1","scripts":{"dev":"tsx src/index.ts","test":"tsx src/test.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"repository":{"url":"git+https://github.com/0xprotovox/deficlaw.git","type":"git"},"_npmVersion":"11.6.2","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.27.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^22.0.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/deficlaw_0.6.1_1774597867042_0.8941055358291603","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@0xprotovox/deficlaw","version":"0.7.0","description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","author":{"name":"0xprotovox"},"license":"MIT","type":"module","bin":{"deficlaw":"dist/index.js"},"main":"dist/server.js","types":"dist/server.d.ts","repository":{"type":"git","url":"git+https://github.com/0xprotovox/deficlaw.git"},"bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"homepage":"https://github.com/0xprotovox/deficlaw#readme","scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsx src/index.ts","test":"tsx src/test.ts"},"dependencies":{"@modelcontextprotocol/sdk":"^1.27.1","zod":"^3.23.0"},"peerDependencies":{"playwright":"^1.58.2"},"peerDependenciesMeta":{"playwright":{"optional":true}},"devDependencies":{"@types/node":"^22.0.0","tsx":"^4.19.0","typescript":"^5.5.0"},"engines":{"node":">=18.0.0"},"keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"gitHead":"f571d78645d3d9eaf1b28d8b013cd602acf2ca46","_id":"@0xprotovox/deficlaw@0.7.0","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Ur7WGAbFHCHBA3urtmYsSQ7pMoNYYFr+EHPQjWOb8s2RxLdsLaOAJM2P+7QncKwCADLTYzcbfcXol2VbD9xTCA==","shasum":"60ec02b3535e5322d60202999850c8163958310f","tarball":"https://registry.npmjs.org/@0xprotovox/deficlaw/-/deficlaw-0.7.0.tgz","fileCount":68,"unpackedSize":278055,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEMCH2hwUSMcAJKDUIzwBhmFjT1AmDwlMWmqLq8j6Hrm6IsCICgBrRttb7iCUWGIosxpaTsrwphaa2u9HEkA0Ik3amry"}]},"_npmUser":{"name":"0xprotovox","email":"beqa28282@gmail.com"},"directories":{},"maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/deficlaw_0.7.0_1774772513922_0.04093196633800211"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T19:52:08.559Z","modified":"2026-03-29T08:21:54.254Z","0.1.1":"2026-03-24T19:52:08.810Z","0.2.0":"2026-03-24T20:10:42.743Z","0.3.0":"2026-03-24T20:29:19.182Z","0.4.0":"2026-03-25T11:40:35.247Z","0.4.1":"2026-03-25T11:42:35.668Z","0.5.0":"2026-03-25T14:06:46.601Z","0.6.0":"2026-03-27T07:39:45.497Z","0.6.1":"2026-03-27T07:51:07.214Z","0.7.0":"2026-03-29T08:21:54.148Z"},"bugs":{"url":"https://github.com/0xprotovox/deficlaw/issues"},"author":{"name":"0xprotovox"},"license":"MIT","homepage":"https://github.com/0xprotovox/deficlaw#readme","keywords":["mcp","defi","solana","crypto","token-analysis","claude-code","ai-tools","dexscreener","gmgn","risk-scoring"],"repository":{"type":"git","url":"git+https://github.com/0xprotovox/deficlaw.git"},"description":"DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence","maintainers":[{"name":"0xprotovox","email":"beqa28282@gmail.com"}],"readme":"[![npm version](https://img.shields.io/npm/v/@0xprotovox/deficlaw.svg)](https://www.npmjs.com/package/@0xprotovox/deficlaw)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org)\n[![MCP](https://img.shields.io/badge/MCP-compatible-purple.svg)](https://modelcontextprotocol.io)\n\n# deficlaw\n\n**The first open-source DeFi MCP server for Claude Code.**\n\nAnalyze any token in seconds. Holder intelligence, risk scoring, smart money tracking, KOL detection, slippage estimation, contract security. Zero API keys required.\n\n```\n> \"analyze Jupiter token\"\n\nJUP is a 2.2y old Meteora token with $1.2M liquidity and $525.1M market cap.\nTop 5 wallets control 61.5% of supply, very concentrated.\n30 diamond hands among holders, decent conviction.\nContract looks safe: mint and freeze authorities revoked.\n10 KOLs tracked: 5 holding, 5 selling.\n\nRisk: 18/100 [LOW]\nVERDICT: NEUTRAL — Mixed signals: 2 bull vs 2 bear.\nSources: dexscreener + gmgn + solana-rpc | 1.1s\n```\n\n## Why deficlaw?\n\nClaude Code can write code, fix bugs, deploy apps. But ask it \"what's the price of BONK?\" and it says *\"I don't have real-time data.\"*\n\n**deficlaw fixes that.** 9 tools, 3 data sources, zero config.\n\n| Feature | Details |\n|---------|---------|\n| **Token Analysis** | Holder intelligence, risk scoring, KOL tracking, actionable verdicts |\n| **Real-time Prices** | Sub-second lookups across Solana, Ethereum, Base, BSC, Arbitrum |\n| **Trending Tokens** | Volume, liquidity, and boost data from DexScreener |\n| **New Launches** | Recently created tokens with age, mcap, liquidity |\n| **Top Traders** | Who made and lost money on any token with PnL breakdown |\n| **Token Search** | Find any token by name or symbol across all chains |\n| **Slippage Estimation** | Jupiter-based price impact for $50-$1000 buys |\n| **Token Comparison** | Side-by-side analysis of two tokens |\n| **Contract Security** | Mint/freeze authority, supply checks on Solana |\n\n## Install\n\n```bash\nnpm install -g @0xprotovox/deficlaw\nclaude mcp add defi -- deficlaw\n```\n\nThat's it. No API keys, no config files, no accounts needed.\n\n<details>\n<summary>Install from source</summary>\n\n```bash\ngit clone https://github.com/0xprotovox/deficlaw.git\ncd deficlaw && npm install && npm run build\nclaude mcp add defi -- node /path/to/deficlaw/dist/index.js\n```\n</details>\n\n## Quick Start\n\nOnce installed, just type naturally in Claude Code:\n\n### Prices (fastest, ~50ms cached / ~300ms first call)\n```\n> what's the price of BONK?\n> price of JUP\n> how much is SOL right now?\n```\n\n### Full Analysis (~1.1s with holders + risk + verdict)\n```\n> analyze token JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN\n> deep analyze BONK\n> is this token safe? EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\n```\n\n### Quick Scan (~350ms, price + risk only, no holders)\n```\n> quick analyze So11111...\n> give me a quick look at this token\n```\n\n### Search, Trending, New Launches\n```\n> search for BONK\n> what's trending on solana?\n> show new launches on solana in the last 30 minutes\n```\n\n### Top Traders & Comparison\n```\n> who profited on this token?\n> compare JUP vs BONK\n```\n\n### Slippage & Security\n```\n> estimate slippage for buying this token\n> is this token contract safe?\n```\n\n## Tools Reference\n\n### `analyze_token`\n\nFull token analysis with holder intelligence, risk scoring, and human-readable summary.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `address` | string | *required* | Token contract address |\n| `chain` | string | `\"solana\"` | Blockchain (solana, ethereum, bsc, base, arbitrum) |\n| `include_holders` | boolean | `true` | Include GMGN holder analysis |\n| `quick` | boolean | `false` | Quick mode: skip holders, price/market/risk only (<1s) |\n| `compact` | boolean | `false` | Compact response: summary, price, risk, top 5 holders only |\n\n**Returns:** Token info, price (5m/1h/6h/24h), market data (mcap, fdv, volume, liquidity), contract security, risk score (0-100), holder concentration, holder categories (diamond hands, snipers, KOLs, fresh wallets, insiders, smart money), buy/sell pressure, dev wallet status, top 20 holders with PnL, KOL list, socials, actionable verdict (BUY/SELL/NEUTRAL/AVOID).\n\n### `get_price`\n\nSub-second price lookup. Accepts both addresses and name/symbol searches.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `token` | string | *required* | Token address or search query |\n| `chain` | string | `\"solana\"` | Blockchain |\n\n### `search_token`\n\nSearch tokens by name or symbol across all chains.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `query` | string | *required* | Token name or symbol (e.g. \"BONK\", \"Jupiter\") |\n| `chain` | string | all | Filter by chain |\n| `limit` | number | `10` | Results to return (1-20) |\n\n### `get_trending`\n\nTrending and boosted tokens with price enrichment.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `chain` | string | `\"solana\"` | Blockchain |\n| `limit` | number | `20` | Number of tokens (1-50) |\n\n### `get_new_launches`\n\nRecently created tokens sorted by creation time.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `chain` | string | `\"solana\"` | Blockchain |\n| `max_age_minutes` | number | `60` | Max token age in minutes (5-1440) |\n| `limit` | number | `20` | Tokens to return (1-50) |\n\n### `get_top_traders`\n\nWho made and lost money on a token. Shows winners and losers with PnL, tags, and Twitter handles.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `address` | string | *required* | Token contract address |\n| `limit` | number | `10` | Number of top winners/losers (1-50) |\n\n### `estimate_slippage`\n\nJupiter-based price impact estimation for $50, $100, $500, $1000 buys. Solana only.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `address` | string | *required* | Solana token mint address |\n\n### `compare_tokens`\n\nSide-by-side comparison of two tokens: price, mcap, volume, liquidity, age, holders.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `address_a` | string | *required* | First token address |\n| `address_b` | string | *required* | Second token address |\n| `chain` | string | `\"solana\"` | Blockchain |\n\n### `get_token_security`\n\nQuick contract security check. Solana only.\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `address` | string | *required* | Solana token mint address |\n\n**Returns:** Mint authority status, freeze authority status, total supply, decimals, and a SAFE/CAUTION/DANGEROUS verdict.\n\n## Architecture\n\n```\nClaude Code\n    |\n    | MCP stdio\n    v\n+------------------+\n|    deficlaw       |\n|    MCP Server     |\n|                  |\n|  +-- Cache ----+ |      +--------------+\n|  | TTL-based   | | ---> | DexScreener  |  prices, volume,\n|  | in-memory   | |      | (free API)   |  liquidity, pairs\n|  +-------------+ |      +--------------+\n|                  |\n|  +-- Risk ----+  |      +--------------+\n|  | 8-dimension | | ---> | GMGN         |  holders, KOLs,\n|  | scorer      | |      | (curl/PW)    |  tags, PnL\n|  +-------------+ |      +--------------+\n|                  |\n|  +-- Summary --+ |      +--------------+\n|  | Rule-based  | | ---> | Solana RPC   |  mint/freeze auth,\n|  | generator   | |      | (free)       |  supply, LP detect\n|  +-------------+ |      +--------------+\n|                  |\n|  +-- Jupiter --+ |      +--------------+\n|  | Quote API   | | ---> | Jupiter      |  slippage quotes,\n|  | client      | |      | (free API)   |  route planning\n|  +-------------+ |      +--------------+\n+------------------+\n```\n\n**Key design decisions:**\n- **curl-based GMGN fetcher** bypasses Cloudflare TLS fingerprinting (Playwright fallback if curl is blocked)\n- **TTL-based in-memory cache** with automatic cleanup prevents rate limiting and keeps responses fast\n- **Rate limiter** with exponential backoff and retry logic for DexScreener (200ms min interval)\n- **Parallel fetching** where possible (holders + security run simultaneously)\n- **All free APIs**, no keys needed\n\n## Performance\n\nBenchmarked on real tokens (BONK), averaged across multiple runs:\n\n| Operation | Time | Notes |\n|-----------|------|-------|\n| `get_price` | ~54ms | Cached: near-instant |\n| `search_token` | ~340ms | DexScreener search API |\n| `analyze_token` (quick) | ~410ms | Price + market + risk, no holders |\n| `analyze_token` (full) | ~1.1-1.5s | All sources: DexScreener + GMGN + Solana RPC |\n| `get_token_security` | ~300ms | Single Solana RPC call |\n| `estimate_slippage` | ~500ms | 4 Jupiter quotes in parallel |\n\n## Risk Scoring\n\nThe composite risk scorer analyzes **8 dimensions** to produce a 0-100 score:\n\n| # | Dimension | Max Points | What It Checks |\n|---|-----------|-----------|----------------|\n| 1 | **Liquidity** | 22 | Pool depth in USD. <$1K = critical, <$5K = extreme, <$25K = high |\n| 2 | **Token Age** | 10 | Time since pair creation. <1h = critical, <6h = high, <24h = medium |\n| 3 | **Volume Anomalies** | 8 | Vol/mcap ratio for wash trading signals. >5x = suspicious |\n| 4 | **Holder Concentration** | 18 | Top 10 holder supply %. >60% = critical, >40% = high |\n| 5 | **Dev Wallet** | 15 | Dev holdings % and selling behavior. >20% = rug risk |\n| 6 | **Fresh Wallets** | 12 | New wallet % among holders. >40% = likely bundled/wash |\n| 7 | **Sniper Activity** | 10 | Bot/sniper/sandwich wallets in top holders |\n| 8 | **Contract Security** | 5 | Mint authority (3pts) + freeze authority (2pts) |\n\n**Risk Levels:**\n\n| Level | Score Range | Meaning |\n|-------|------------|---------|\n| LOW | 0-19 | Few concerns, safer relative to peers |\n| MEDIUM | 20-44 | Some concerns, do your own research |\n| HIGH | 45-69 | Multiple red flags, elevated caution |\n| CRITICAL | 70-100 | Extreme risk, likely scam or rug-pull |\n\n## Configuration\n\nAll environment variables are optional. deficlaw works out of the box with zero config.\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `SOLANA_RPC_URL` | `https://api.mainnet-beta.solana.com` | Custom Solana RPC endpoint (use a private RPC for better reliability) |\n| `DEFICLAW_CACHE_TTL` | `120000` (2 min) | GMGN holder cache TTL in milliseconds |\n| `DEFICLAW_PRICE_CACHE_TTL` | `30000` (30s) | Price cache TTL in milliseconds |\n| `DEBUG` | *(unset)* | Set to `deficlaw` to enable debug logging to stderr |\n\n### Claude Code Config\n\nAdd to your project's `.mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"defi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@0xprotovox/deficlaw\"]\n    }\n  }\n}\n```\n\n<details>\n<summary>With custom environment variables</summary>\n\n```json\n{\n  \"mcpServers\": {\n    \"defi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@0xprotovox/deficlaw\"],\n      \"env\": {\n        \"SOLANA_RPC_URL\": \"https://your-rpc.com\",\n        \"DEFICLAW_CACHE_TTL\": \"120000\",\n        \"DEFICLAW_PRICE_CACHE_TTL\": \"30000\",\n        \"DEBUG\": \"deficlaw\"\n      }\n    }\n  }\n}\n```\n</details>\n\n## Supported Chains\n\n**Prices and trending** work on all DexScreener-supported chains: Solana, Ethereum, Base, BSC, Arbitrum, Polygon, Avalanche, Optimism, Fantom, and more.\n\n**Holder analysis** (GMGN) currently supports **Solana** tokens.\n\n**Slippage estimation** (Jupiter) supports **Solana** tokens.\n\n## Roadmap\n\n- [x] Token analysis with holder intelligence\n- [x] Risk scoring (8 dimensions, 0-100)\n- [x] Contract security checks (mint/freeze authority)\n- [x] KOL detection with Twitter handles\n- [x] Human-readable AI summary with actionable insights\n- [x] Top traders (winners/losers with PnL)\n- [x] Token search by name/symbol\n- [x] New launches detection\n- [x] Actionable verdict (BUY/SELL/NEUTRAL/AVOID)\n- [x] Slippage estimation (Jupiter quotes)\n- [x] Token comparison (side by side)\n- [x] Configurable cache TTL via env vars\n- [x] Debug logging (DEBUG=deficlaw)\n- [x] LP pool detection in top holders\n- [ ] Multi-chain holder analysis (Ethereum, Base)\n- [ ] Price alerts via MCP resources\n- [ ] Wallet portfolio analysis\n- [ ] Historical price charts\n- [ ] DEX aggregator integration for trade execution\n\n## Contributing\n\nContributions welcome! Here's how:\n\n1. Fork the repo\n2. Create your branch (`git checkout -b feature/my-feature`)\n3. Make changes and ensure `npx tsc --noEmit` passes with zero errors\n4. Run benchmarks (`npm test`) to verify nothing regressed\n5. Commit and open a PR\n\n**Development setup:**\n```bash\ngit clone https://github.com/0xprotovox/deficlaw.git\ncd deficlaw\nnpm install\nnpm run build    # compile TypeScript\nnpm test         # run speed benchmarks\nnpm run dev      # run from source with tsx\n```\n\n## Built With\n\n- [Model Context Protocol SDK](https://github.com/modelcontextprotocol/typescript-sdk) - MCP server framework\n- [DexScreener API](https://docs.dexscreener.com) - Price and market data\n- [GMGN](https://gmgn.ai) - Holder intelligence\n- [Jupiter Quote API](https://station.jup.ag/docs/apis/swap-api) - Slippage estimation\n- TypeScript, Zod, Node.js 18+\n\n## License\n\nMIT\n\n## Author\n\n**@0xprotovox** - [Twitter](https://x.com/0xprotovox) | [GitHub](https://github.com/0xprotovox)\n\n20 years building software. Now building AI trading agents and DeFi tools.\n","readmeFilename":"README.md"}