GnistAI GnistAI
Log in

Getting Started with Lorem Ipsum

Generate lorem ipsum placeholder text — paragraphs, sentences, or words for design and development.

All Tutorials   |   Overview   |   Playground   |   MCP   |   REST API   |   Home
Utilities

Data source: Built-in generator

Overview

Lorem Ipsum performs computations on your inputs — no external data source required. This tutorial covers all 4 tools with parameter reference and code examples.

Prerequisites

  1. Sign up at https://context.gnist.ai/signup for a free API key (100 calls/day).
  2. Choose your integration method: MCP protocol or REST API.

Connect via MCP

Add to your MCP client config (Claude Desktop, Cursor, etc.):

MCP Config
{
  "mcpServers": {
    "gnist-lorem-ipsum": {
      "url": "https://context.gnist.ai/mcp/lorem-ipsum/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Tools (4)

generate_lorem_paragraphs

Generate lorem ipsum placeholder paragraphs. Produces realistic-looking Latin placeholder text commonly used in design, typesetting, and development. Each paragraph contains 3-7 sentences.

ParameterTypeRequiredDescription
countintegeroptionalNumber of paragraphs (1-100). (default: 3)
start_with_lorembooleanoptionalStart with the classic 'Lorem ipsum dolor sit amet...' opening. (default: True)
curl -X POST "https://context.gnist.ai/mcp/lorem-ipsum/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "generate_lorem_paragraphs", "arguments": {"count": 3}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/lorem-ipsum/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'count': 3}, 'name': 'generate_lorem_paragraphs'}},
)
print(resp.json())

generate_lorem_sentences

Generate lorem ipsum placeholder sentences. Each sentence contains 5-15 words of Latin-style placeholder text.

ParameterTypeRequiredDescription
countintegeroptionalNumber of sentences (1-500). (default: 5)
start_with_lorembooleanoptionalStart with the classic opening sentence. (default: True)
curl -X POST "https://context.gnist.ai/mcp/lorem-ipsum/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "generate_lorem_sentences", "arguments": {"count": 5}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/lorem-ipsum/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'count': 5}, 'name': 'generate_lorem_sentences'}},
)
print(resp.json())

generate_lorem_words

Generate lorem ipsum placeholder words. Returns a sequence of Latin-style placeholder words without sentence structure.

ParameterTypeRequiredDescription
countintegeroptionalNumber of words (1-5000). (default: 50)
curl -X POST "https://context.gnist.ai/mcp/lorem-ipsum/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "generate_lorem_words", "arguments": {"count": 50}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/lorem-ipsum/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'count': 50}, 'name': 'generate_lorem_words'}},
)
print(resp.json())

report_feedback

Report a bug, feature request, or general feedback for this data source. Use this when something doesn't work as expected, when you'd like a new feature, or when you have suggestions for improvement. Args: feedback: Describe the issue or suggestion. feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: general)
curl -X POST "https://context.gnist.ai/mcp/lorem-ipsum/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "report_feedback", "arguments": {"feedback": "example"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/lorem-ipsum/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'feedback': 'example'}, 'name': 'report_feedback'}},
)
print(resp.json())

FAQ

What data does Lorem Ipsum provide?

Generate lorem ipsum placeholder text — paragraphs, sentences, or words for design and development. It exposes 4 tools: generate_lorem_paragraphs, generate_lorem_sentences, generate_lorem_words, report_feedback.

Does this toolkit require external data?

No. It performs computations on your inputs directly. You only need a Gnist API key.

What format does the Lorem Ipsum API return?

JSON, via either MCP protocol (JSON-RPC 2.0) or REST API.

Next Steps

Related Tutorials