Science & Education
Translate a DNA or mRNA sequence into protein using the standard genetic code. Scans all 6 reading frames (forward and reverse complement), marks start (AUG) and stop codons, identifies the longest open reading frames (ORFs), and shows the amino-acid composition with color-coded residue types. Supports T→U normalisation and reverse-complement translation.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/codon-amino-acid-translator' \
-H 'Content-Type: application/json' \
-d '{"sequence":"AUGGCCAUAUAA","strand":"both","display":"best","maxCodons":60,"precision":1}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/codon-amino-acid-translator| Name | Type | Required | Description |
|---|---|---|---|
| sequence | textarea | Yes | — |
| strand | select | No | — |
| display | select | No | — |
| maxCodons | number | No | 0 = show all codons. Long sequences are truncated for display. |
| precision | number | Yes | — |
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-codon-amino-acid-translator": {
"name": "codon-amino-acid-translator",
"description": "Translate a DNA or mRNA sequence into protein using the standard genetic code. Scans all 6 reading frames (forward and reverse complement), marks start (AUG) and stop codons, identifies the longest open reading frames (ORFs), and shows the amino-acid composition with color-coded residue types. Supports T→U normalisation and reverse-complement translation.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=codon-amino-acid-translator",
"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": "codon-amino-acid-translator",
"arguments": {
"sequence": "AUGGCCAUAUAA",
"strand": "both",
"display": "best",
"maxCodons": 60,
"precision": 1
}
}
}HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]