-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 3.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "mcp-local-rag",
"version": "0.17.2",
"description": "Local RAG MCP Server - Easy-to-setup document search with minimal configuration",
"type": "module",
"main": "dist/index.js",
"bin": {
"mcp-local-rag": "dist/index.js"
},
"files": [
"dist",
"skills"
],
"keywords": [
"typescript",
"mcp",
"mcp-server",
"model-context-protocol",
"rag",
"vector-search",
"semantic-search",
"embeddings",
"lancedb",
"transformers",
"huggingface",
"local-ai",
"offline",
"privacy",
"document-search",
"pdf",
"claude-code",
"cursor",
"codex",
"skills"
],
"author": "Shinsuke Kagawa",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/shinpr/mcp-local-rag.git"
},
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"watch": "tsx watch src/index.ts",
"type-check": "tsc --noEmit",
"type-check:test": "tsc -p tsconfig.test.json",
"test": "node scripts/run-vitest-with-device.mjs cpu run --exclude 'src/__tests__/e2e/visual-ingest-e2e.test.ts' --exclude '**/*.perf.test.ts'",
"test:perf": "node scripts/run-vitest-with-device.mjs cpu run src/server/__tests__/rag-server.read-neighbors.perf.test.ts",
"test:webgpu": "pnpm run test:webgpu:main-path",
"test:webgpu:main-path": "node scripts/run-vitest-with-device.mjs webgpu run src/server/__tests__/rag-server.embedding.integration.test.ts src/server/__tests__/rag-server.ingest.integration.test.ts src/server/__tests__/rag-server.search.integration.test.ts src/__tests__/cli/ingest-cross-path-equivalence.test.ts",
"test:webgpu:full": "node scripts/run-vitest-with-device.mjs webgpu run --exclude 'src/__tests__/e2e/visual-ingest-e2e.test.ts'",
"test:watch": "vitest",
"test:e2e": "RUN_E2E=1 vitest run src/__tests__/e2e/visual-ingest-e2e.test.ts",
"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": "knip --include exports",
"check:deps": "dpdm --no-tree --no-warning --exit-code circular:1 -T --tsconfig ./tsconfig.json --exclude \"(node_modules|__tests__|\\.test\\.ts$|\\.spec\\.ts$)\" \"src/**/*.ts\"",
"check:all": "pnpm run check && pnpm run lint && pnpm run format:check && pnpm run check:unused && pnpm run check:deps && pnpm run build && pnpm run type-check:test && pnpm run test",
"cleanup:processes": "bash ./scripts/cleanup-test-processes.sh",
"test:safe": "pnpm test && pnpm run cleanup:processes",
"prepare": "husky"
},
"dependencies": {
"@huggingface/transformers": "^4.2.0",
"@lancedb/lancedb": "^0.31.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@mozilla/readability": "0.6.0",
"jsdom": "^29.1.1",
"jszip": "^3.10.1",
"mammoth": "^1.12.0",
"mupdf": "^1.28.0",
"turndown": "7.2.4"
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"@types/jsdom": "^28.0.3",
"@types/node": "^26.1.1",
"@types/turndown": "5.0.6",
"dpdm": "^4.2.0",
"husky": "^9.1.7",
"knip": "^6.29.0",
"lint-staged": "^17.2.0",
"tsx": "^4.23.1",
"typescript": "^7.0.2",
"vite": "^8.1.5",
"vitest": "^4.1.10"
},
"packageManager": "pnpm@11.17.0",
"engines": {
"node": ">=22"
},
"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"
}