# Grain (npm · grain-tools)

Run SQL queries and inspect database schemas through safe, visible MCP tools.

- Trust score: 32/100 (low)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-20

## Components

- npm · `grain-tools`: 32/100 (this document), [markdown](https://verifymcp.io/servers/pattrnlabs-grain/grain-tools.md), [page](https://verifymcp.io/servers/pattrnlabs-grain/grain-tools)

## Channel facts

- Registry: `npm`
- Package: `grain-tools`
- Version: `0.10.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-20.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known medium-severity CVE affects snowflake-sdk 1.15.0, a direct dependency. A fixed version is available.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 400 of 575 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: no license is declared.
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 0/100
  - Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- **Tool Coverage**: 0/100
  - Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- **Tool Safety**: 0/100
  - Tool safety not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- **Capabilities**: 0/100
  - Protocol version not yet verified: we do not have a sandbox capture of the MCP handshake this version of the package performs yet.

**Unverified: 5 categories.** Categories scored 0 because our sandbox run of this package has not given us the schema these checks need to read. That is a gap on our side rather than a finding about the package, and we only credit what we can confirm, so the score stands at 0 until the capture succeeds. We are working through the fleet, so this normally clears without any action from you.

## Install

### How do I install the Grain MCP server?

Grain runs locally as an npm package, launched with npx -y grain-tools. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add pattrnlabs-grain -- npx -y grain-tools
```

### Cursor

```json
{
  "mcpServers": {
    "pattrnlabs-grain": {
      "command": "npx",
      "args": [
        "-y",
        "grain-tools"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "pattrnlabs-grain": {
      "command": "npx",
      "args": [
        "-y",
        "grain-tools"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add pattrnlabs-grain -- npx -y grain-tools
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pattrnlabs-grain": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "grain-tools"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add pattrnlabs-grain --command npx --arg -y --arg grain-tools
```

### Hermes

```yaml
mcp_servers:
  pattrnlabs-grain:
    command: "npx"
    args: ["-y", "grain-tools"]
```

### Netclaw

```json
{
  "McpServers": {
    "pattrnlabs-grain": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "grain-tools"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add pattrnlabs-grain -t stdio -c npx -a -y grain-tools
```

### Other

```json
{
  "mcpServers": {
    "pattrnlabs-grain": {
      "command": "npx",
      "args": [
        "-y",
        "grain-tools"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-20 (score 32, −3)

- [security] Tool safety: Tool safety not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] License: pass → fail
- [functional] Capabilities: Protocol version not yet verified: we do not have a sandbox capture of the MCP handshake this version of the package performs yet.
- [functional] Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- [functional] Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional] Licence: MIT
- [functional] Package version: 0.10.1 → 0.10.4

### 2026-09-16 (score 35, +7)

- [security regression] Known CVEs: unverified → fail
- [security] Stability: Stability not yet verified: this server's registry entry declares environment variables (an API key or similar) that our sandbox does not supply, so we have no schema to compare.
- [security] Tool safety: Tool safety not yet verified: this server's registry entry declares environment variables (an API key or similar) that our sandbox does not supply, so we have no tool text to scan.
- [functional improvement] Dependency health: unverified → partial
- [functional] Schema quality: Schema quality not yet verified: this server's registry entry declares environment variables (an API key or similar) that our sandbox does not supply, so we have no schema to assess.
- [functional] Capabilities: Protocol version not yet verified: this server's registry entry declares environment variables (an API key or similar) that our sandbox does not supply, so we never saw its MCP handshake.
- [functional] Tool coverage: Tool coverage not yet verified: this server's registry entry declares environment variables (an API key or similar) that our sandbox does not supply, so we have no tool definitions to assess.

### 2026-09-15 (score 28, +8)

- [security regression] Known CVEs: fail → unverified
- [security improvement] Malware scan: unverified → pass
- [security] Tool safety: Tool safety not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Dependency health: partial → unverified
- [functional] Capabilities: Protocol version not yet verified: we do not have a sandbox capture of the MCP handshake this version of the package performs yet.
- [functional] Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.
- [functional] Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional] Package version: 0.10.0 → 0.10.1

### 2026-09-14 (score 20)

First indexed and scored.

## MCP tools (0)

Tools for package channels are captured by running the package in an isolated sandbox. The most recent sandbox run could not capture a tool list from this package.

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/pattrnlabs-grain/grain-tools#diagnostics

## Score history

- 2026-09-20: 32
- 2026-09-19: 35
- 2026-09-18: 35
- 2026-09-17: 35
- 2026-09-16: 35
- 2026-09-15: 28
- 2026-09-14: 20

## Common questions

### What is the Grain MCP server?

Grain is an MCP server listed in the public MCP registry as io.github.pattrnlabs/grain. Run SQL queries and inspect database schemas through safe, visible MCP tools. This page covers its npm package (grain-tools).

### Is the Grain MCP server safe to use?

Grain scores 32 out of 100 on VerifyMCP. We recorded 19 known advisories against it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### Is the Grain MCP server still maintained?

Grain is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

## Links

- npm package: https://www.npmjs.com/package/grain-tools
- Socket report: https://socket.dev/npm/package/grain-tools
- Repository: https://github.com/pattrnlabs/grain
- Website: https://grain.tools/
- Changelog RSS feed: https://verifymcp.io/servers/pattrnlabs-grain/grain-tools.xml
- Changelog JSON feed: https://verifymcp.io/servers/pattrnlabs-grain/grain-tools.json
- HTML version of this page: https://verifymcp.io/servers/pattrnlabs-grain/grain-tools
