
DECIMER MCP Server
io.github.DocMinusPublished by GitHub account DocMinusv0.1.4Updated Oct 24, 2026
MCP server for DECIMER image-to-SMILES chemical structure recognition
Overview
Lets an assistant convert images of chemical structures into SMILES strings through a DECIMER recognition API.
- What you can do
- This local MCP server exposes DECIMER image-to-SMILES chemical structure recognition as tool calls. It provides server_health, which checks whether the DECIMER FastAPI server is reachable, and analyze_chemical_image, which sends a base64-encoded image to the image2smiles endpoint and returns structured output including the SMILES string, API status, and classifier score and decision. It is a thin adapter and does not run DECIMER models itself.
- When to use it
- Use it when an assistant needs to read chemical structure diagrams from images and obtain machine-readable SMILES, for example in chemistry or cheminformatics workflows. It is only useful if you already run or can run the separate DECIMER API server it calls.
- Requirements
- Python 3.10+ and a running DECIMER API server, by default at The package is installed and run with uv/uvx over stdio. Optional environment variables: DECIMER_API_BASE_URL, DECIMER_API_TIMEOUT_SECONDS, DECIMER_MAX_IMAGE_BYTES, DECIMER_MCP_LOG_LEVEL. No authentication is declared.
Installation
In SourceWeft
- Open DECIMER MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
DecimerMCPServer
mcp-name: io.github.DocMinus/decimer-mcp-server
MCP server that exposes DECIMER image-to-SMILES functionality as tool calls.
This project is a thin adapter over the existing FastAPI service in DecimerServerAPI.
It does not run DECIMER models directly.
The adapter sends JSON requests by default, with automatic fallback to form payloads for compatibility.
Tools
server_health: Checks whether the DECIMER FastAPI server is reachable.analyze_chemical_image: Sends a base64-encoded image to/image2smiles/and returns structured output.
Requirements
- Python 3.10+
- Running DECIMER API server (default:
http://localhost:8099)
find it at either of these two versions:
- GitHub: https://github.com/DocMinus/DecimerServerAPI
- Dockerhub: https://hub.docker.com/r/docminus/decimer_api
Install
Configuration
Copy .env.example values into your environment:
DECIMER_API_BASE_URL(defaulthttp://localhost:8099)DECIMER_API_TIMEOUT_SECONDS(default60)DECIMER_MAX_IMAGE_BYTES(default10000000)DECIMER_MCP_LOG_LEVEL(defaultINFO)
Run (stdio transport)
or
Example MCP client config
Output shape
analyze_chemical_image returns:
When no SMILES is returned by API classifier behavior:
Development tests
Make targets:
Smoke test helper
Run one health check + one inference call against your DECIMER API:
If you keep settings in .env, load it with:
or use make:
Override the image path if needed:
Monitor Actions tab. If publish fails, rerun using workflow dispatch after fixing issues.
Source: README.md at commit 375df14
Tools
0Version history
1- v0.1.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts