npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sura_ai/chemotion

v0.1.0

Published

Model Context Protocol server for Chemotion ELN (electronic lab notebook). Search, read, and write samples, reactions, research plans, wellplates, and collections from any MCP-aware AI client.

Downloads

31

Readme

@sura_ai/chemotion

Model Context Protocol server for Chemotion ELN. It gives MCP-aware clients a typed Chemotion connector for collections, samples, reactions, research plans, wellplates, screens, attachments, and search.

Status: 0.1.0. The API surface is reverse-engineered from Chemotion's api/v1 routes and verified against a live Chemotion 1.x deployment.

Features

  • Read collections, samples, reactions, research plans, wellplates, screens, and attachments.
  • Search by free text, structured filters, ids, short labels, substructure, and similarity.
  • Create, update, and delete samples, reactions, research plans, wellplates, and screens.
  • Handle both auth modes Chemotion exposes in practice: credentials login and copied browser session cookies.
  • Gate writes and destructive actions behind explicit env flags.
  • Preserve chemistry-specific data such as SMILES, InChI, formulae, molfile payloads, stoichiometry, and wellplate layouts.

Install

npm install @sura_ai/chemotion

Or run it directly:

npx -y @sura_ai/chemotion

Configuration

Set CHEMOTION_BASE_URL to the Chemotion instance root. Do not include /api/v1.

Choose exactly one auth mode:

  1. Credentials mode
CHEMOTION_BASE_URL=https://eln.example.org
[email protected]
CHEMOTION_PASSWORD=replace-me
  1. Session-cookie mode
CHEMOTION_BASE_URL=https://eln.example.org
CHEMOTION_SESSION_COOKIE=_chemotion_session=replace-me

Optional flags:

  • CHEMOTION_TIMEOUT_MS
  • CHEMOTION_USER_AGENT
  • CHEMOTION_ALLOW_WRITES=true
  • CHEMOTION_ALLOW_DESTRUCTIVE=true
  • CHEMOTION_REVEAL_USER_IDENTITIES=true

Write tools are off by default. Destructive tools require both CHEMOTION_ALLOW_WRITES=true and CHEMOTION_ALLOW_DESTRUCTIVE=true.

MCP Example

{
  "mcpServers": {
    "chemotion": {
      "command": "npx",
      "args": ["-y", "@sura_ai/chemotion"],
      "env": {
        "CHEMOTION_BASE_URL": "https://eln.example.org",
        "CHEMOTION_USERNAME": "[email protected]",
        "CHEMOTION_PASSWORD": "replace-me",
        "CHEMOTION_ALLOW_WRITES": "false"
      }
    }
  }
}

Development

npm install
npm run typecheck
npm run build
npm run smoke

scripts/smoke.ts uses the same env vars as the server and probes a live Chemotion instance.

Docs

Security Notes

  • Do not commit .env files, copied session cookies, or local MCP client config.
  • The repo's .gitignore excludes common secret-bearing local files by default.
  • Public docs use anonymized examples. Keep raw live-instance notes in ignored local files if you need them.

License

MIT. See LICENSE.