DECIMER API를 사용하여 화학 구조 이미지를 SMILES 문자열로 변환합니다.
다른 이름 DocMinus/DecimerMCPServer, decimermcpserver, decimer-mcp-server
- 스타
- 0
- Tools
- 2
- 다운로드, 30일
- 163
- 최신 버전
- 0.1.4
- 마지막 커밋
- 2026년 10월 22일
- 라이선스
- MIT
DECIMER MCP란?
DECIMER은(는) MCP server입니다. DECIMER API를 사용하여 화학 구조 이미지를 SMILES 문자열로 변환합니다. 2개 도구를 제공합니다. 예: server_health, analyze_chemical_image.
프로젝트 README에서 생성된 요약
DECIMER MCP server 정보
화학 구조 이미지를 SMILES 문자열로 변환하는 것이 이 도구의 주요 기능입니다. DECIMER FastAPI 서비스에 대한 경량 어댑터로 작동하여, AI 클라이언트가 표준 도구 호출을 통해 화학 이미지 인식 기능을 사용할 수 있도록 지원합니다. 이 서버를 사용하려면 기본적으로 localhost:8099에서 실행 중인 DECIMER API 서버가 있어야 합니다.
개발자는 analyze_chemical_image 도구를 사용하여 base64로 인코딩된 이미지를 전송하고 처리를 관리할 수 있습니다. 또한 server_health 도구를 통해 원격 FastAPI 서비스의 연결 상태를 확인할 수 있습니다. 설정은 API 기본 URL, 요청 타임아웃, 최대 이미지 바이트 크기 등을 포함한 환경 변수를 통해 관리합니다. 이 설정은 Python 3.10 이상 환경에서 stdio 전송 방식을 통한 로컬 통합을 위해 설계되었습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
DECIMER MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 DECIMER MCP 설치
$ claude mcp add decimermcpserver -- uvx decimer-mcp-serverCursor에 DECIMER MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"decimermcpserver": {
"command": "uvx",
"args": [
"decimer-mcp-server"
]
}
}
}VS Code에 DECIMER MCP 설치
.vscode/mcp.json
{
"servers": {
"decimermcpserver": {
"type": "stdio",
"command": "uvx",
"args": [
"decimer-mcp-server"
]
}
}
}VS Code CLI에 DECIMER MCP 설치
$ code --add-mcp '{"name":"decimermcpserver","type":"stdio","command":"uvx","args":["decimer-mcp-server"]}'Claude Desktop에 DECIMER MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"decimermcpserver": {
"command": "uvx",
"args": [
"decimer-mcp-server"
]
}
}
}Codex에 DECIMER MCP 설치
$ codex mcp add decimermcpserver -- uvx decimer-mcp-serverCodex config.toml에 DECIMER MCP 설치
~/.codex/config.toml
[mcp_servers.decimermcpserver] command = "uvx" args = ["decimer-mcp-server"]
Gemini CLI에 DECIMER MCP 설치
$ gemini mcp add -s user decimermcpserver uvx -- decimer-mcp-serverGemini settings.json에 DECIMER MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"decimermcpserver": {
"command": "uvx",
"args": [
"decimer-mcp-server"
]
}
}
}DECIMER MCP 도구 2
README에서 감지됨server_healthanalyze_chemical_image
| server_health | — | |
| analyze_chemical_image | — |
구성
DECIMER_API_BASE_URL
| 이름 | 설명 | 유형 |
|---|---|---|
| DECIMER_API_BASE_URL | — |
자동 검사
2026년 11월 12일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용검사되지 않음
- 파괴적인 도구에 라벨 표시됨통과
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기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
cd /Users/a/dev/DecimerMCPServer
uv venv
uv sync
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)
uv run decimer-mcp-server
or
uv run python -m decimer_mcp_server
Example MCP client config
{
"mcpServers": {
"decimer": {
"command": "uv",
"args": ["run", "python", "-m", "decimer_mcp_server"],
"env": {
"DECIMER_API_BASE_URL": "http://localhost:8099"
}
}
}
}
Output shape
analyze_chemical_image returns:
{
"ok": true,
"smiles": "CCO",
"reason": null,
"api_status_code": 200,
"api_message": null,
"classifier_score": 0.0000012,
"classifier_threshold": 0.3,
"classifier_decision": "structure_like"
}
When no SMILES is returned by API classifier behavior:
{
"ok": true,
"smiles": null,
"reason": "not_chemical_structure",
"api_status_code": 200,
"api_message": "No SMILES returned by API",
"classifier_score": 0.99999,
"classifier_threshold": 0.3,
"classifier_decision": "not_structure_like"
}
Development tests
uv sync --extra dev
uv run pytest
Make targets:
make sync
make test
Smoke test helper
Run one health check + one inference call against your DECIMER API:
cd /Users/a/dev/DecimerMCPServer
DECIMER_API_BASE_URL=http://chitchat:8099 uv run decimer-mcp-smoke-test --image /Users/a/dev/DecimerServerAPI/example_usage/structure.png
If you keep settings in .env, load it with:
uv run --env-file .env decimer-mcp-smoke-test --image /Users/a/dev/DecimerServerAPI/example_usage/structure.png
or use make:
make smoke
Override the image path if needed:
make smoke SMOKE_IMAGE=/absolute/path/to/image.png
## MCP Registry publishing
Tags matching `v*` trigger `.github/workflows/publish-mcp.yml`.
Workflow steps:
- installs `mcp-publisher`
- validates `server.json`
- calls registry publish using secret `MCP_REGISTRY_TOKEN`
- publishes slug `io.github.DocMinus/decimer-mcp-server` (case sensitive; must match registry grant)
Before tagging:
1. Update `pyproject.toml` + `server.json` versions
2. Ensure `server.json` stays valid (`uv pip install jsonschema && python validate snippet from AGENTS.md`)
3. Add GitHub repo secret `MCP_REGISTRY_TOKEN` (GitHub PAT with `repo`, `workflow` scopes)
Release flow:
```bash
git tag v0.1.1
git push origin v0.1.1
Monitor Actions tab. If publish fails, rerun using workflow dispatch after fixing issues.
## Contribution
This project was built by DocMinus with AI-assisted coding support (OpenCode/Copilot-style tooling), then reviewed and tested by the author.
## AI usage policy
- AI assistance was used for scaffolding, implementation drafts, and documentation edits.
- Final technical decisions, validation runs, and acceptance were performed by the maintainer.
- Runtime behavior should be validated with local tests (`make test`) and smoke tests (`make smoke`) before release.
DECIMER MCP 질문
DECIMER MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add decimermcpserver -- uvx decimer-mcp-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
DECIMER MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
DECIMER MCP는 어떤 도구를 제공하나요?
2개 도구를 제공합니다. 예: server_health, analyze_chemical_image.
이 서버에서 DECIMER 모델을 직접 실행하나요?
아니요, 이 서버는 기존 FastAPI 서비스에 대한 경량 어댑터 역할을 하며 모델을 직접 실행하지는 않습니다.
이 서버를 실행하기 위한 요구 사항은 무엇인가요?
Python 3.10 이상 버전과 실행 중인 DECIMER API 서버가 필요합니다.