Chomp Food Database API MCP Server
detail.loadingPreview
Exposes the Chomp Food Database API as an MCP-compatible interface for AI agents.
About This Workflow
This workflow transforms the Chomp Food Database API Documentation into an MCP-compatible interface, allowing AI agents to easily query food data. It utilizes an MCP Trigger for receiving AI agent requests and HTTP Request nodes to interact with the Chomp Food Database API (https://chompthis.com/api/v2). AI expressions ($fromAI()) are used to dynamically populate API parameters, and responses are returned directly to the AI agent.
Key Features
- MCP Trigger acts as the AI agent endpoint.
- Four HTTP Request nodes connect to the Chomp Food Database API.
$fromAI()expressions automate parameter population.- Native integration for seamless AI agent responses.
- Supports various search and retrieval operations for branded food items and ingredients.
How To Use
⚙️ Setup Instructions
-
Import Workflow: Load this workflow into your n8n instance.
-
Configure Authentication: Set up
apiKeycredentials. Type: API Key in query. Key name:api_key. -
Activate Workflow: Enable the workflow to start the MCP server.
-
Get MCP URL: Copy the webhook URL from the MCP trigger.
-
Connect AI Agent: Use the MCP URL in your AI agent configuration.
💡 Usage Notes
- Parameters are auto-populated by AI using
$fromAI()expressions. - With 4 API endpoints available as tools.
- Responses maintain original API structure.
🛠️ Customization
- Add data transformation nodes if needed.
- Implement custom error handling.
- Add logging or monitoring nodes.
- Modify parameter defaults in any HTTP request node as needed.
Apps Used
Workflow JSON
{
"id": "9dc8ebfd-c760-47df-bff5-30c550d6cb3f",
"name": "Chomp Food Database API MCP Server",
"nodes": 24,
"category": "Data Integration",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9dc8ebfd-c760...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
Automated Daily Weather Data Fetcher and Storage
Fetches daily weather data from OpenWeatherMap API and stores it in Airtable.
Google Sheets to PostgreSQL Data Sync
Automates the process of fetching data from Google Sheets and loading it into a PostgreSQL database.