{
  "name": "@teknologika/mcp-local-knowledge",
  "version": "0.1.4",
  "description": "Local-first semantic search for documents using MCP protocol. Requires Python 3.10+ and Docling (pip install docling).",
  "type": "module",
  "engines": {
    "node": ">=22.0.0",
    "npm": ">=10.0.0"
  },
  "bin": {
    "mcp-local-knowledge": "dist/bin/mcp-server.js",
    "mcp-knowledge-ingest": "dist/bin/ingest.js",
    "mcp-knowledge-manager": "dist/bin/manager.js"
  },
  "files": [
    "dist",
    "scripts/check-docling.js",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc && npm run copy-ui && npm run chmod-bins",
    "copy-ui": "mkdir -p dist/ui/manager/templates dist/ui/manager/static && cp src/ui/manager/templates/*.hbs dist/ui/manager/templates/ && cp src/ui/manager/static/* dist/ui/manager/static/",
    "chmod-bins": "chmod +x dist/bin/*.js",
    "dev": "node --watch --env-file=.env src/bin/manager.ts",
    "dev:mcp": "node --watch src/bin/mcp-server.ts",
    "dev:ingest": "node --watch src/bin/ingest.ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "test:ui": "vitest --ui",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    "format": "prettier --write \"src/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\"",
    "security": "npm audit --audit-level=moderate",
    "clean": "rm -rf dist",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run clean && npm run build && npm run lint",
    "prepack": "npm run build",
    "postinstall": "node scripts/check-docling.js"
  },
  "keywords": [
    "mcp",
    "model-context-protocol",
    "semantic-search",
    "documents",
    "knowledge-base",
    "embeddings",
    "vector-search",
    "docling",
    "local-first",
    "lancedb"
  ],
  "author": "Teknologika",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/teknologika/mcp-local-knowledge.git"
  },
  "bugs": {
    "url": "https://github.com/teknologika/mcp-local-knowledge/issues"
  },
  "homepage": "https://github.com/teknologika/mcp-local-knowledge#readme",
  "dependencies": {
    "@fastify/cookie": "^11.0.2",
    "@fastify/flash": "^6.0.3",
    "@fastify/formbody": "^8.0.2",
    "@fastify/helmet": "^12.0.1",
    "@fastify/multipart": "^9.4.0",
    "@fastify/session": "^11.1.1",
    "@fastify/static": "^8.3.0",
    "@fastify/view": "^10.0.2",
    "@huggingface/transformers": "^3.8.1",
    "@lancedb/lancedb": "^0.5.0",
    "@modelcontextprotocol/sdk": "^1.26.0",
    "ajv": "^8.12.0",
    "ajv-formats": "^3.0.1",
    "commander": "^11.1.0",
    "docling-sdk": "^2.0.4",
    "fastify": "^5.7.4",
    "g": "^2.0.1",
    "handlebars": "^4.7.8",
    "ignore": "^7.0.5",
    "pino": "^8.17.0",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@types/node": "^20.10.0",
    "@typescript-eslint/eslint-plugin": "^6.18.0",
    "@typescript-eslint/parser": "^6.18.0",
    "@vitest/coverage-v8": "^1.1.0",
    "eslint": "^8.56.0",
    "fast-check": "^3.15.0",
    "pino-pretty": "^11.0.0",
    "typescript": "^5.3.3",
    "vitest": "^1.1.0"
  }
}
