package.json•2.86 kB
{
"name": "mcp-local-rag",
"version": "0.1.5",
"description": "Local RAG MCP Server - Easy-to-setup document search with minimal configuration",
"main": "dist/index.js",
"bin": {
"mcp-local-rag": "dist/index.js"
},
"keywords": [
"typescript",
"mcp",
"mcp-server",
"rag",
"vector-search",
"lancedb",
"transformers",
"local-ai",
"privacy",
"document-search",
"semantic-search",
"claude-code"
],
"author": "Shinsuke Kagawa",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/shinpr/mcp-local-rag.git"
},
"scripts": {
"build": "tsc && tsc-alias",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"watch": "tsx watch src/index.ts",
"type-check": "tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:coverage:summary": "node scripts/show-coverage.js",
"test:coverage:clean": "rm -rf coverage .vitest-cache",
"test:coverage:fresh": "npm run test:coverage:clean && npm run test:coverage",
"test:watch": "vitest",
"format": "biome format --write src",
"format:check": "biome format src",
"lint": "biome lint src",
"lint:fix": "biome lint --write src",
"check": "biome check src",
"check:fix": "biome check --write src",
"check:unused": "node scripts/check-unused-exports.js",
"check:unused:all": "ts-prune --project tsconfig.json --ignore 'src/index.ts|__tests__|test|vitest'",
"check:deps": "madge --circular --extensions ts src",
"check:deps:graph": "madge --extensions ts --image graph.svg src",
"check:all": "npm run check && npm run lint && npm run format:check && npm run check:unused && npm run check:deps && npm run build && npm run test",
"cleanup:processes": "bash ./scripts/cleanup-test-processes.sh",
"test:safe": "npm test && npm run cleanup:processes",
"prepare": "husky"
},
"dependencies": {
"@huggingface/transformers": "^3.7.6",
"@lancedb/lancedb": "^0.22.2",
"@langchain/textsplitters": "^1.0.0",
"@modelcontextprotocol/sdk": "^1.20.2",
"langchain": "^1.0.2",
"mammoth": "^1.11.0",
"pdf-parse": "^2.4.5"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^20.0.0",
"@vitest/coverage-v8": "^3.2.4",
"c8": "^10.1.3",
"husky": "^9.1.7",
"jsdom": "^25.0.0",
"lint-staged": "^16.1.0",
"madge": "^8.0.0",
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"tsc-alias": "^1.8.7",
"tsx": "^4.19.4",
"typescript": "^5.0.0",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=20"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"biome check --write --no-errors-on-unmatched",
"biome format --write --no-errors-on-unmatched"
]
},
"mcpName": "io.github.shinpr/mcp-local-rag"
}