POEM MCP Server
OfficialTranslates POEM specs into Kotlin code, providing language-specific type mappings and structured translation briefs.
Translates POEM specs into Python code, providing language-specific type mappings and structured translation briefs.
Translates POEM specs into Rust code, providing language-specific type mappings and structured translation briefs.
Translates POEM specs into Swift code, providing language-specific type mappings and structured translation briefs.
Translates POEM specs into TypeScript code, providing language-specific type mappings and structured translation briefs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@POEM MCP ServerTranslate this poem to Go"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
POEM MCP Server
MCP server for POEM (Pseudo-code Oriented Executable Markup).
Write specs once, get code in any language.
Tools
Tool | What it does |
| Parse a .poem file into structured elements |
| Check syntax and naming conventions |
| Prepare a spec for translation to any language |
Related MCP server: PlugLayer MCP Server
Install
Clone and build:
git clone https://github.com/openpoem/poem-mcp.git
cd poem-mcp
npm install && npm run buildConfigure
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"poem": {
"command": "node",
"args": ["/path/to/poem-mcp/dist/mcp.js"]
}
}
}Usage
Read a POEM
"Read this poem file and explain what it does"
The poem_read tool parses .poem files into structured elements (constants, structs, functions, enums, etc).
Validate a POEM
"Validate this poem spec"
Checks for syntax errors, naming convention compliance, and structural completeness.
Translate a POEM
"Translate this poem to Python"
The tool parses and validates the spec, then provides a structured translation brief with language-specific type mappings. The LLM then generates idiomatic code.
Supported targets: Python, TypeScript, Go, Rust, Java, Swift, Kotlin, SQL, and any other language.
Example
// pricing.poem
const TAX_RATE = 0.21;
struct Product {
name: string;
price: float;
}
fn total(p: Product, qty: int) -> float {
return p.price * qty * (1 + TAX_RATE);
}Ask: "Translate to Go" and get:
const TAX_RATE = 0.21
type Product struct {
Name string
Price float64
}
func Total(p Product, qty int64) float64 {
return p.Price * float64(qty) * (1 + TAX_RATE)
}Origin
Built by OpenPoem
License
MIT
Available Tools
3 toolspoem_readA
Read and parse a .poem file into structured elements (constants, structs, functions, etc). Returns the parsed structure so you can understand, discuss, or translate the spec.
Use this when someone shares a .poem file or asks about its contents.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The .poem file content | |
| filename | No | Optional filename for context |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It discloses the parse-and-return behavior and mentions the output ('parsed structure'), implying a non-destructive read operation. However, it omits details like error handling or what happens with malformed input, leaving room for more explicit behavioral disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two focused sentences: the first defines the tool's function and return value, the second gives usage context. No redundancy or fluff; the description is front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read/parse tool with no output schema, the description adequately covers the return value and primary use case. It could mention that it does not validate or translate (which siblings do), but its context of understanding/discussing/translating already hints at that. The coverage is solid given the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the parameters are already fully documented. The description does not add extra meaning beyond the schema; it merely restates the 'source' as .poem file content, which matches the schema description. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Read and parse a .poem file') and resource (structured elements: constants, structs, functions, etc.), clearly distinguishing it from sibling tools like poem_validate and poem_translate by emphasizing parsing for understanding/discussion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear context: 'Use this when someone shares a .poem file or asks about its contents.' This signals appropriate usage without explicitly excluding alternatives or naming them, but the context alone is sufficient for a read/parse tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
poem_translateA
Prepare a .poem spec for translation to a target language. Parses the POEM, validates it, and returns a structured translation brief.
YOU (the LLM) then use this brief to generate idiomatic code in the target language. The tool handles parsing and validation. You handle the translation.
Supported targets: any programming language (python, typescript, go, rust, java, sql, swift, kotlin, etc).
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional style hints: "idiomatic" (default), "minimal", "verbose", "production" | |
| source | Yes | The .poem file content | |
| target | Yes | Target language (e.g. "python", "go", "typescript") | |
| filename | No | Optional source filename |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It states that the tool parses and validates, and returns a structured brief, which is useful. However, it does not disclose behaviors like what happens on validation failure or whether the operation is read-only, though parsing/validating implies no side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, using three sentences plus a target list. The 'YOU' and 'The tool handles...' lines are valuable because they clarify the division of labor between the tool and the LLM. Minor redundancy ('Parses...validates' vs 'handles parsing and validation') is acceptable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description explains the overall workflow well, but with no output schema, it does not describe the structure or content of the translation brief, which is critical for the LLM to use it effectively. It also omits error-handling behavior for invalid POEM content. More detail would make it complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds a supported-targets list that supplements the 'target' parameter, but it does not add meaningful detail about the parameters beyond what the schema already provides, such as the structure of the translation brief.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Prepare a .poem spec for translation') and elaborates that it parses, validates, and returns a translation brief. This distinguishes it from sibling tools poem_read and poem_validate, which focus on reading and validation alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context: use this tool to prepare a translation brief, then the LLM uses that brief to generate code. It does not explicitly exclude alternatives like poem_validate, but it clarifies the tool handles validation within the translation workflow, implying the correct usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
poem_validateA
Validate a .poem file for syntax correctness and convention compliance. Checks: brace balance, naming conventions (UPPER_SNAKE for constants, snake_case for functions, PascalCase for types), and structural completeness.
Returns errors (must fix), warnings (should fix), and stats.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The .poem file content to validate |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It explains what is checked (brace balance, naming conventions, structural completeness) and what is returned (errors, warnings, stats), providing useful context beyond a simple 'validates' statement.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences: purpose, specific checks, return types. Every sentence adds value, no filler, and the structure is logical and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter validation tool with no output schema or annotations, the description covers the input, validation criteria, and return categories. It could specify the output structure in more detail, but it is adequate for an agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% because the only parameter 'source' has a clear description. The tool description adds little beyond the schema, but it is consistent with the parameter's purpose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool validates a .poem file for syntax correctness and convention compliance, listing specific checks. It is distinct from siblings poem_read and poem_translate, which handle reading and translation respectively.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used to validate .poem files, which is clear in context. It does not explicitly mention when not to use it or name alternatives, but the sibling tools make the use case obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
poem_read - First observed
poem_translate - First observed
poem_validate
TDQS
Scored across 3 tools
Each tool targets a distinct operation: read parses and returns structure, validate checks correctness, and translate prepares for conversion. There is no overlap in their purposes, making selection unambiguous.
All tools follow a consistent 'poem_verb' pattern with clear, specific verbs (read, validate, translate). Naming is predictable and uniform in snake_case.
Three tools is well-scoped for a specialized POEM handling server, covering the core needs of parsing, validation, and translation. Each tool earns its place without redundancy.
The set covers the primary lifecycle of reading, validating, and translating POEM specs. Minor gaps like a create/edit tool are outside the apparent focus, so the surface is mostly complete for its stated purpose.
Maintenance
Related MCP Connectors
Turn PRDs and product ideas into structured specs so coding agents build your intent, not theirs.
Design domain models and generate deterministic multi-stack code, driven by your coding agent.
Build and run a backend from plain English. Data, logic, endpoints, auth and jobs, deployed live.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Related MCP Servers
- FlicenseAqualityDmaintenanceConverts natural language queries into valid GraphQL queries and executes them against GraphQL APIs. Includes schema introspection, query validation, execution with authentication, and query history tracking.525-

PlugLayer MCP Serverofficial
AlicenseCqualityBmaintenanceEnables deploying and managing infrastructure via natural language, including project/domain management, compute nodes, image deployment, and CI/CD integration.70MIT- AlicenseBqualityDmaintenanceEnables orchestrating secure software development pipelines with domain-specific compliance (HIPAA, PCI-DSS, etc.), generating pseudocode, threat models, and CI/CD from user stories via natural language.17MIT
- AlicenseNot gradedqualityAmaintenanceEnables coding agents to convert natural language engineering prompts into editable parametric CAD models with deterministic parsing, validation, and edit support.6Apache 2.0