ChemInventory

v1.0.2
io.github.niclas-gr/cheminventory-mcp Checked 2 days ago Published 10 days ago

Search and manage a ChemInventory chemical inventory through its API

Values you need

VariableWhat it is
CHEMINVENTORY_TOKENrequired secret ChemInventory API token
CHEMINVENTORY_URLoptional Installation URL for dedicated or self-hosted servers Default: https://app.cheminventory.net

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add cheminventory-mcp -e 'CHEMINVENTORY_TOKEN=<CHEMINVENTORY_TOKEN>' -- uvx cheminventory-mcp==1.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cheminventory-mcp": {
      "args": [
        "cheminventory-mcp==1.0.2"
      ],
      "command": "uvx",
      "env": {
        "CHEMINVENTORY_TOKEN": "<CHEMINVENTORY_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cheminventory-mcp": {
      "args": [
        "cheminventory-mcp==1.0.2"
      ],
      "command": "uvx",
      "env": {
        "CHEMINVENTORY_TOKEN": "<CHEMINVENTORY_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CHEMINVENTORY_TOKEN",
      "id": "cheminventory-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "cheminventory-mcp": {
      "args": [
        "cheminventory-mcp==1.0.2"
      ],
      "command": "uvx",
      "env": {
        "CHEMINVENTORY_TOKEN": "${input:cheminventory-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cheminventory-mcp]
command = "uvx"
args = ["cheminventory-mcp==1.0.2"]
env = { "CHEMINVENTORY_TOKEN" = "<CHEMINVENTORY_TOKEN>" }

For AI agents

  1. Ask the user for: CHEMINVENTORY_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: assigned_barcodes, check_barcode, duplicate_barcodes, generate_barcodes, load_collection, add_to_collection, add_to_collection_by_barcode, remove_from_collection, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json