Skip to content

MCP server

MCP server for Claude and Cursor

Updated:

Short answer

Plant Toxicity API runs a remote MCP server at https://api.plant-toxicity-api.com/mcp (Streamable HTTP). Add it to Claude Code, Cursor or Claude Desktop with your API key, and the model can look up toxicity for cats, dogs and people, care plans and plant names itself. Each tool call uses one credit of your plan.

Tools

Tool What it does
get_toxicity Toxicity for cats, dogs and people: level, scope, sources, disclaimer, plus a one-line summary
get_care Care plan: light, water, soil, temperature, feeding, problems
resolve_name Any name to the accepted plant, family and match status, with alternatives for an ambiguous common name
search_plants Search by part of a scientific or common name; returns ids

Errors such as an unknown plant, used-up credits or a plan limit come back as tool errors the model can read and explain.

Claude Code

claude mcp add --transport http plant-toxicity https://api.plant-toxicity-api.com/mcp --header "Authorization: Bearer pk_your_key"

Cursor

In ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project; keep it out of git):

{
  "mcpServers": {
    "plant-toxicity": {
      "url": "https://api.plant-toxicity-api.com/mcp",
      "headers": { "Authorization": "Bearer pk_your_key" }
    }
  }
}

Claude Desktop

Through the mcp-remote bridge (needs Node.js). Settings, Developer, Edit Config (claude_desktop_config.json):

{
  "mcpServers": {
    "plant-toxicity": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.plant-toxicity-api.com/mcp", "--header", "Authorization:${PTA_AUTH}"],
      "env": { "PTA_AUTH": "Bearer pk_your_key" }
    }
  }
}

Restart Claude Desktop after saving.

Try it

Ask: “Is an Easter lily dangerous for my cat?” The model calls get_toxicity with “Easter lily” and should answer that it is an emergency for cats, with the disclaimer that this is information, not a substitute for a vet or poison center.

Same rules as the REST API

The MCP server uses the same data, keys and credits as the REST API. On the Free plan, answers are in English and the attribution applies. Your key is the login; send it as Authorization: Bearer pk_… or X-API-Key: pk_….

Questions

What does an MCP tool call cost?

One credit, the same as a REST request. Listing the tools is free. The per-second limit of your plan applies too.

Does it work with claude.ai custom connectors?

Not yet. Custom connectors sign in with OAuth, which the server does not offer yet. Claude Code, Cursor and Claude Desktop (through mcp-remote) work with your API key.

Which languages can the model use?

The name argument takes scientific names and common names in English, German or French. Answers come in English on Free and in English, German or French on paid plans.