GnistAI GnistAI
Log in

Getting Started with Rhyme Finder

Find perfect rhymes, near rhymes, sound-alike words, and spelling pattern matches powered by the Datamuse word API.

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

Data source: Datamuse

Overview

Rhyme Finder wraps Datamuse, handling authentication, pagination, and rate limits for you. This tutorial covers all 5 tools with working code examples you can copy and run.

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-rhyme-finder": {
      "url": "https://context.gnist.ai/mcp/rhyme-finder/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Tools (5)

find_rhymes

Find perfect rhymes for a word. Returns words that rhyme perfectly with the given word, ranked by relevance score. Includes syllable count when available.

ParameterTypeRequiredDescription
wordstringrequiredWord to find perfect rhymes for (e.g. 'love', 'time', 'moon').
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
curl -X POST "https://context.gnist.ai/mcp/rhyme-finder/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "find_rhymes", "arguments": {"word": "'love'"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/rhyme-finder/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'word': "'love'"}, 'name': 'find_rhymes'}},
)
print(resp.json())

find_near_rhymes

Find near/approximate rhymes for a word. Returns words that approximately rhyme with the given word (e.g. 'north' and 'fourth').

ParameterTypeRequiredDescription
wordstringrequiredWord to find near/approximate rhymes for.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
curl -X POST "https://context.gnist.ai/mcp/rhyme-finder/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "find_near_rhymes", "arguments": {"word": "example"}}}'
import httpx

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

find_sounds_like

Find words that sound like a given word. Useful for finding homophones, near-homophones, and phonetically similar words.

ParameterTypeRequiredDescription
wordstringrequiredWord or phrase to find similar-sounding words for.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
curl -X POST "https://context.gnist.ai/mcp/rhyme-finder/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "find_sounds_like", "arguments": {"word": "example"}}}'
import httpx

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

find_spelled_like

Find words matching a spelling pattern. Supports wildcards: ? matches a single character, * matches any number of characters. E.g. 'b?t' matches 'bat', 'bet', 'bit', 'bot', 'but'.

ParameterTypeRequiredDescription
patternstringrequiredSpelling pattern with optional wildcards (? = single char, * = any chars). E.g. 'b?t', 'pre*'.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
curl -X POST "https://context.gnist.ai/mcp/rhyme-finder/" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "find_spelled_like", "arguments": {"pattern": "'b?t'"}}}'
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/rhyme-finder/",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={'id': 1,
 'jsonrpc': '2.0',
 'method': 'tools/call',
 'params': {'arguments': {'pattern': "'b?t'"}, 'name': 'find_spelled_like'}},
)
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/rhyme-finder/" \
  -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/rhyme-finder/",
    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())

Common Patterns

Pagination
Several tools support limit, offset, or page parameters. Start with small limits during development, then increase for production queries.

FAQ

What data does Rhyme Finder provide?

Find perfect rhymes, near rhymes, sound-alike words, and spelling pattern matches powered by the Datamuse word API. It exposes 5 tools: find_rhymes, find_near_rhymes, find_sounds_like, find_spelled_like, report_feedback.

What do I need to get started?

A Gnist API key (free tier: 100 calls/day). Sign up at https://context.gnist.ai/signup.

What format does the Rhyme Finder API return?

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

Next Steps

Related Tutorials