Education
Per-residue counts and mol%, group tallies, Kyte–Doolittle GRAVY score, and ProtParam MW from a sequence. Educational use only.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/amino-acid-composition' \
-H 'Content-Type: application/json' \
-d '{"sequence":"MGSSHHHHHHSSGLVPRGSH","decimalPlaces":2}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/amino-acid-composition| Name | Type | Required | Description |
|---|---|---|---|
| sequence | textarea | Yes | One-letter amino-acid sequence (case-insensitive; spaces and * - . separators are ignored). |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-amino-acid-composition": {
"name": "amino-acid-composition",
"description": "Per-residue counts and mol%, group tallies, Kyte–Doolittle GRAVY score, and ProtParam MW from a sequence. Educational use only.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=amino-acid-composition",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "amino-acid-composition",
"arguments": {
"sequence": "MGSSHHHHHHSSGLVPRGSH",
"decimalPlaces": 2
}
}
}Questions or issues? Contact [email protected]