https://github.com/gblack686/n8n-workflow-summarizer-mcp
A way to summarize your n8n workflows
https://github.com/gblack686/n8n-workflow-summarizer-mcp
Last synced: 3 months ago
JSON representation
A way to summarize your n8n workflows
- Host: GitHub
- URL: https://github.com/gblack686/n8n-workflow-summarizer-mcp
- Owner: gblack686
- Created: 2025-03-20T18:17:19.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-20T18:18:31.000Z (7 months ago)
- Last Synced: 2025-03-20T19:53:07.293Z (7 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# N8N Workflow Summarizer MCP Tool
An MCP tool that analyzes and summarizes n8n workflows for Claude.
## Overview
This tool simplifies n8n workflow JSON files into clear, concise summaries. It extracts key information about nodes, connections, and functionality to help Claude understand complex workflows.
## Features
- Analyzes n8n workflow JSON files
- Extracts node counts and types
- Identifies connections between nodes
- Produces markdown summaries
- Compatible with Model Context Protocol (MCP)## Installation
Follow these steps to install the N8N Workflow Summarizer MCP tool:
```bash
# Clone the repository
git clone https://github.com/gblack686/n8n-workflow-summarizer-mcp.git
cd n8n-workflow-summarizer-mcp# Set up your OpenAI API key
export OPENAI_API_KEY=your_api_key_here# Install dependencies
pip install -r requirements.txt# Install as MCP tool
fastmcp install workflow_summarizer_mcp.py --name "N8N Workflow Summarizer"
```## Usage
Check the `example_usage.py` file for a complete example of how to use this tool.
```python
import asyncio
from workflow_summarizer_mcp import summarize_workflowasync def main():
# Specify your workflow JSON file
workflow_file = "example_workflow.json"
# Summarize the workflow using a specific model
summary = await summarize_workflow(workflow_file, model="gpt-4o")
print(summary)if __name__ == "__main__":
asyncio.run(main())
```## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.