POEM MCP Server
Enables parsing, validating, and translating POEM pseudo-code specifications into code in any programming language via natural language.
README
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 |
|---|---|
poem_read |
Parse a .poem file into structured elements |
poem_validate |
Check syntax and naming conventions |
poem_translate |
Prepare a spec for translation to any language |
Install
Clone and build:
git clone https://github.com/openpoem/poem-mcp.git
cd poem-mcp
npm install && npm run build
Configure
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.