{"_id":"@amritessh/scalpel","name":"@amritessh/scalpel","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@amritessh/scalpel","version":"0.1.0","description":"Symbol-level codebase retrieval MCP server: get_symbol(name) returns a definition span + usages, never a whole file.","main":"dist/server.js","bin":{"scalpel":"dist/server.js","scalpel-index":"dist/build-index.js"},"repository":{"type":"git","url":"git+https://github.com/amritessh/scalpel-mcp.git"},"keywords":["mcp","model-context-protocol","code-retrieval","tree-sitter","claude-code"],"author":{"name":"amritessh"},"license":"ISC","type":"module","dependencies":{"@modelcontextprotocol/sdk":"^1.30.0","better-sqlite3":"^12.11.1","drizzle-orm":"^0.45.2","gpt-tokenizer":"^4.0.0","tree-sitter":"^0.21.1","tree-sitter-go":"^0.21.2","tree-sitter-python":"^0.21.0","tree-sitter-typescript":"^0.23.2","zod":"^4.5.4"},"_id":"@amritessh/scalpel@0.1.0","gitHead":"9cc705fadeff24d62189bb6bcba55711b346f9df","bugs":{"url":"https://github.com/amritessh/scalpel-mcp/issues"},"homepage":"https://github.com/amritessh/scalpel-mcp#readme","_nodeVersion":"20.18.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-1gHxHfNykiiW+g5kYJWsaNZYLc4krpRhjPZlcsUNzRF3YA2cm06zI0p01p44gD4Z5zvdem+/4QuRjq9NFDTg+w==","shasum":"ea21fa02f7b0cd83854dcb16020bfe4b4132a5f5","tarball":"https://registry.npmjs.org/@amritessh/scalpel/-/scalpel-0.1.0.tgz","fileCount":29,"unpackedSize":73738,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFR/jlC5DrBpAhMTJIpMfk1r+7QIsUOWQVFXhfIc+J4+AiEAzi7AUXLZ4O6oFQThXNeYaI3vbFq0YRH/TZQPG2zCLgM="}]},"_npmUser":{"name":"amritessh","email":"amriteshanand7@gmail.com"},"directories":{},"maintainers":[{"name":"amritessh","email":"amriteshanand7@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/scalpel_0.1.0_1789140866149_0.15093208415794668"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T15:34:25.922Z","0.1.0":"2026-09-11T15:34:26.282Z","modified":"2026-09-11T15:34:26.495Z"},"maintainers":[{"name":"amritessh","email":"amriteshanand7@gmail.com"}],"description":"Symbol-level codebase retrieval MCP server: get_symbol(name) returns a definition span + usages, never a whole file.","homepage":"https://github.com/amritessh/scalpel-mcp#readme","keywords":["mcp","model-context-protocol","code-retrieval","tree-sitter","claude-code"],"repository":{"type":"git","url":"git+https://github.com/amritessh/scalpel-mcp.git"},"author":{"name":"amritessh"},"bugs":{"url":"https://github.com/amritessh/scalpel-mcp/issues"},"license":"ISC","readme":"# scalpel\n\nSymbol-level codebase retrieval MCP server. Give an agent `get_symbol(name)` instead of a whole file — it returns just the definition and its usages.\n\n## Install\n\n```bash\nnpm install -g @amritessh/scalpel\n\n# index a repo (lang: ts | python | go, default ts)\nscalpel-index /path/to/repo /path/to/repo/.scalpel/index.db [lang]\n\n# run the MCP server over stdio\nscalpel /path/to/repo /path/to/repo/.scalpel/index.db\n```\n\nPoint an MCP client at it (stdio transport, args: `<repoPath> <dbPath>`).\n\n## Background\n\nThis tool grew out of a research study on symbol-level code retrieval for AI coding agents — token cost, real dollar cost, and task-completion effects, tested across multiple languages and 57 real historical bugs. The frozen research artifact (raw data, benchmark harness, full writeup) lives at [amritessh/scalpel-fse2027-artifact](https://github.com/amritessh/scalpel-fse2027-artifact).\n\nThis repository is the maintained, installable product — its source is developed separately from the research artifact above.\n","readmeFilename":"README.md","_rev":"1-e2cbeb6c698c8ca4bbfdf171726ff6d6"}