Skip to main content
Glama
openpoem

POEM MCP Server

Official
by openpoem

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

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 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

F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Converts 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.
    5
    24
  • A
    license
    C
    quality
    B
    maintenance
    Enables deploying and managing infrastructure via natural language, including project/domain management, compute nodes, image deployment, and CI/CD integration.
    70
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language exploration of OMOP CDM databases for concept discovery, patient count queries, and cohort SQL generation with support for multiple database backends.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Build, version, review, and export websites, web apps, and games from a conversation.

  • Manage projects, tasks, time tracking, and team collaboration through natural language.

  • GibsonAI MCP server: manage your databases with natural language

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openpoem/poem-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server