GnistAI GnistAI
Log in

Recipe Database

International recipe collection — search by name, browse by category or cuisine, get random recipes.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Food & Drink

Data source: TheMealDB

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/recipe/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (7)

search_recipes

Search international recipes by name.

Returns full recipe details including ingredients, instructions, and category.

Args:
query: Recipe name to search for (e.g. "Arrabiata", "chicken", "pasta").

ParameterTypeRequiredDescription
querystringrequiredRecipe name to search for (e.g. "Arrabiata", "chicken", "pasta").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_recipes",
    "arguments": {
      "query": "example"
    }
  }
}
get_recipe

Get full details for a specific recipe by its ID.

Args:
meal_id: TheMealDB recipe ID (e.g. "52771").

Returns:
Full recipe record with ingredients, instructions, category, and cuisine.

ParameterTypeRequiredDescription
meal_idstringrequiredTheMealDB recipe ID (e.g. "52771").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_recipe",
    "arguments": {
      "meal_id": "example"
    }
  }
}
get_random_recipe

Get a random recipe from the international recipe database.

Returns:
A randomly selected recipe with full details.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_random_recipe",
    "arguments": {}
  }
}
list_categories

List all available recipe categories (e.g. Beef, Chicken, Dessert, Seafood).

Returns:
List of categories with names, thumbnails, and descriptions.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_categories",
    "arguments": {}
  }
}
filter_by_category

Filter recipes by category. Returns recipe summaries (name, ID, image).

Use get_recipe() with the returned ID to get full details.

Args:
category: Recipe category (e.g. "Beef", "Chicken", "Dessert", "Seafood", "Vegetarian").

ParameterTypeRequiredDescription
categorystringrequiredRecipe category (e.g. "Beef", "Chicken", "Dessert", "Seafood", "Vegetarian").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "filter_by_category",
    "arguments": {
      "category": "example"
    }
  }
}
filter_by_area

Filter recipes by cuisine/area. Returns recipe summaries (name, ID, image).

Use get_recipe() with the returned ID to get full details.

Args:
area: Cuisine area (e.g. "Italian", "Japanese", "Mexican", "British", "Indian").

ParameterTypeRequiredDescription
areastringrequiredCuisine area (e.g. "Italian", "Japanese", "Mexican", "British", "Indian").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "filter_by_area",
    "arguments": {
      "area": "example"
    }
  }
}
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")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/recipe/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_recipes", "arguments": {"query": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/recipe/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_recipes",
    "arguments": {
      "query": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Food & Drink)

Resources