# CropGraph MCP server

> Provides agricultural intelligence for crop calendars, companion planting, pest management, and climate-based garden planning.

- Repository: https://github.com/Cropgraph/cropgraph
- Page: https://hostedmcp.org/servers/cropgraph/cropgraph
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 3.2.0

## Install

### Claude Code

```sh
claude mcp add cropgraph -- npx -y @cropgraph/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "cropgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@cropgraph/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "cropgraph": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cropgraph/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"cropgraph","type":"stdio","command":"npx","args":["-y","@cropgraph/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "cropgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@cropgraph/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add cropgraph -- npx -y @cropgraph/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.cropgraph]
command = "npx"
args = ["-y", "@cropgraph/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user cropgraph npx -- -y @cropgraph/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "cropgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@cropgraph/mcp"
      ]
    }
  }
}
```

## FAQ

### What kind of agricultural data does CropGraph provide?

It offers data on crop calendars, companion planting, crop rotation, succession planting, pest and disease management, USDA hardiness zones, and climate classification.

### How many crop entries are available in the database?

The crop calendar contains 5,006 entries across 14 different categories.

### Does the server include information on beneficial insects?

Yes, it includes 200 beneficial insect entries categorized into predators, parasitoids, pollinators, decomposers, and microbial controls.
