{
  "name": "ai-usage-mcp",
  "version": "0.16.1",
  "mcpName": "io.github.MohitBansal321/ai-usage-mcp",
  "description": "Local-first MCP server that reports real token usage and cost across coding agents (Claude Code, OpenCode, Codex CLI). Nothing leaves your machine.",
  "releaseHighlight": {
    "version": "0.16.1",
    "text": "Codex CLI usage is collected and verified; status no longer mistakes its own read of OpenCode for a write"
  },
  "keywords": [
    "mcp",
    "model-context-protocol",
    "claude-code",
    "opencode",
    "codex",
    "token-usage",
    "cost",
    "local-first"
  ],
  "license": "MIT",
  "author": "Mohit Bansal",
  "homepage": "https://github.com/MohitBansal321/ai-usage-mcp#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MohitBansal321/ai-usage-mcp.git"
  },
  "bugs": {
    "url": "https://github.com/MohitBansal321/ai-usage-mcp/issues"
  },
  "type": "module",
  "engines": {
    "node": ">=22.13.0"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "sideEffects": false,
  "bin": {
    "ai-usage-mcp": "dist/mcp/server.js",
    "ai-usage": "dist/cli/index.js"
  },
  "files": [
    "dist",
    "docs",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.build.json && node scripts/chmod-bins.mjs",
    "dev": "tsc -w -p tsconfig.build.json",
    "test": "vitest run",
    "test:watch": "vitest",
    "verify": "node dist/cli/index.js verify",
    "prepublishOnly": "npm run check",
    "typecheck": "tsc -p tsconfig.json",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "test:coverage": "vitest run --coverage",
    "check": "npm run typecheck && npm run lint && npm run format:check && npm run build && npm test"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.12.0",
    "zod": "^4.5.4"
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@types/better-sqlite3": "^9.6.0",
    "@types/node": "^22.10.0",
    "@vitest/coverage-v8": "^5.0.0",
    "eslint": "^10.9.1",
    "eslint-config-prettier": "^10.1.8",
    "prettier": "^3.9.6",
    "typescript": "^5.7.0",
    "typescript-eslint": "^8.69.0",
    "vitest": "^5.0.0"
  },
  "optionalDependencies": {
    "better-sqlite3": "^13.0.3"
  }
}
