# getProject

**Identifier:** `depsdev_getProject`

**Provider:** [deps.dev](https://kirha.com/providers/depsdev.md)

Get project metadata including stars, forks, issues, license, and OpenSSF security scorecard. Supports GitHub, GitLab, and Bitbucket projects.

## Run it with the CLI

```bash
kirha tools run depsdev_getProject \
  --input '{
    "projectId": "github.com/expressjs/express"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "depsdev_getProject",
  "input": {
    "projectId": "github.com/expressjs/express"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "projectId": {
      "description": "Project identifier (e.g., 'github.com/expressjs/express', 'gitlab.com/user/repo')",
      "type": "string"
    }
  },
  "required": [
    "projectId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "forksCount": {
      "type": "number"
    },
    "homepage": {
      "type": "string"
    },
    "license": {
      "type": "string"
    },
    "openIssuesCount": {
      "type": "number"
    },
    "ossFuzz": {
      "additionalProperties": false,
      "properties": {
        "lineCount": {
          "type": "number"
        },
        "lineCoverPercent": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "projectId": {
      "type": "string"
    },
    "scorecard": {
      "additionalProperties": false,
      "properties": {
        "checks": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "score": {
                "type": "number"
              }
            },
            "required": [
              "name",
              "score"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "date": {
          "type": "string"
        },
        "overallScore": {
          "type": "number"
        }
      },
      "required": [
        "overallScore",
        "date",
        "checks"
      ],
      "type": "object"
    },
    "starsCount": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "projectId"
  ],
  "type": "object"
}
```

-----

[All deps.dev tools](https://kirha.com/providers/depsdev.md) · [< Back to tools list](https://kirha.com/tools.md)