get_poem_lines

Pack: poetrydb · Endpoint: https://gateway.pipeworx.io/poetrydb/mcp

Full-text search within poem lines on PoetryDB — finds any poem containing the given phrase in one of its lines. Returns full poem text (capped). Keyless.

Parameters

NameTypeRequiredDescription
textstringyesPhrase to find inside any line of a poem, e.g. “Nature”, “the road not taken”.
limitnumbernoMax poems to return (default 10, max 20).

Example call

Arguments

{
  "text": "Nature"
}

curl

curl -X POST https://gateway.pipeworx.io/poetrydb/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_poem_lines","arguments":{"text":"Nature"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_poem_lines', {
  "text": "Nature"
});

More examples

{
  "text": "the road not taken",
  "limit": 3
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "poetrydb": {
      "url": "https://gateway.pipeworx.io/poetrydb/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 8, 2026