npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-machador

v1.0.1

Published

n8n community node for Machador AI - Chat Model Integration for AI Workflows

Readme

n8n-nodes-machador

pnpm install pnpm run build npm pack npm publish --access public

Patch (0.1.0 → 0.1.1) → für Bugfixes npm version patch

Minor (0.1.0 → 0.2.0) → für neue Features ohne Breaking Changes npm version minor

Major (0.1.0 → 1.0.0) → für Breaking Changes npm version major

Update Node:

npm version patch git push origin main --tags pnpm run build npm publish --access public

This is an n8n community node package that integrates Machador AI into your workflows.

n8n npm version License

Machador is an advanced AI platform providing powerful language models for various use cases. With this n8n community node, you can leverage Machador's AI capabilities directly in your n8n workflows.

Installation | Features | Credentials | Usage | Configuration | Resources


Installation

Via n8n Community Nodes

  1. Open your n8n instance
  2. Navigate to Settings → Community Nodes
  3. Click Install a community node
  4. Enter: n8n-nodes-machador
  5. Click Install

Via npm

npm install n8n-nodes-machador
Manual Installation
bashcd ~/.n8n/nodes
npm install n8n-nodes-machador
# Restart n8n

Features
🤖 Machador Chat Model
Complete integration of Machador's Large Language Models with the following capabilities:

🔐 Secure API Authentication - Simple configuration with API key
⚡ Optimized Performance - Built for production AI workflows
🎛️ Flexible Configuration - Customizable parameters (temperature, max tokens, etc.)
📄 JSON Response Format - Support for structured outputs
🔗 LangChain Compatible - Works seamlessly with AI Chains and Agents
🌐 Dynamic Model Selection - Automatically loads available models from API


Credentials
Setting up Machador API Credentials

In n8n, create a new Machador API credential
Enter your Machador API key
The base URL is pre-configured: https://api.machador.net/v1

Get your API key: Sign up at Machador or contact their support.

Usage
Available Nodes
Machador Chat Model (lmChatMachador)
This node enables the use of Machador's chat models in AI Chains and Agents.
Parameters:
ParameterTypeDefaultDescriptionModelOptionsmachador-largeAvailable Machador models (loaded dynamically)TemperatureNumber0.7Controls randomness (0-2)Max TokensNumber-1Maximum number of tokens (-1 = unlimited)Top PNumber1Nucleus sampling parameter (0-1)Frequency PenaltyNumber0Reduces repetition (-2 to 2)Presence PenaltyNumber0Encourages new topics (-2 to 2)Response FormatOptionstextOutput format: text or jsonTimeoutNumber360000Request timeout in millisecondsMax RetriesNumber2Maximum number of retry attempts

Examples
1. Simple Chat Workflow
┌─────────────────┐
│ Webhook Trigger │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Set Variables  │  ← Prepare prompt
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Machador Chat   │  ← Generate AI response
│     Model       │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Respond to     │
│    Webhook      │
└─────────────────┘
2. AI Agent Workflow
┌─────────────────┐
│   AI Agent      │
│                 │
│  Language Model:│
│  ├─ Machador    │  ← Machador as LLM
│  │   Chat Model │
│                 │
│  Tools:         │
│  ├─ HTTP        │  ← Add various tools
│  ├─ Database    │
│  └─ Custom      │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Process Agent   │
│    Results      │
└─────────────────┘
3. JSON Response for Structured Data
┌─────────────────┐
│  Set Node       │  ← Prepare prompt with "json" keyword
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Machador Chat   │  ← Response Format: JSON
│     Model       │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  JSON Parser    │  ← Process structured data
└─────────────────┘
4. Example: Content Analysis
Node Configuration:
json{
  "model": "machador-large",
  "temperature": 0.3,
  "responseFormat": "json_object"
}
Prompt:
Analyze the following text and return a JSON object with sentiment, key_topics, and summary:

{{ $json.text }}
Expected Output:
json{
  "sentiment": "positive",
  "key_topics": ["AI", "automation", "workflow"],
  "summary": "Discussion about AI-powered workflow automation..."
}

Configuration
Important Notes
JSON Response Format:

If using json_object response format, include the word "json" in your prompt
This feature requires models released after November 2023
The model will guarantee valid JSON output

Temperature Settings:

0.0 - Deterministic, consistent outputs
0.7 - Balanced (default)
2.0 - Maximum creativity and randomness

Token Management:

-1 = No limit (uses model's maximum context)
Set specific limits to control costs and response length


Compatibility
RequirementVersionNode.js≥ 20.15n8n≥ 1.0.0DependenciesSee package.json
Tested with:

n8n version 1.x
Latest Machador API (v1)


API Documentation
For detailed information about the Machador API, visit the official documentation.
Key Endpoints:

GET /models - List available models
POST /chat/completions - Chat completions


Resources

📚 n8n Community Nodes Documentation
🤖 Machador API Documentation
💬 n8n Community Forum
🐛 Report Issues
📦 npm Package


Development
This package was developed using the n8n nodes starter template.
Setup
bash# Install dependencies
npm install

# Build the package
npm run build

# Development mode (watch)
npm run dev

# Linting
npm run lint

# Format code
npm run format
Project Structure
n8n-nodes-machador/
├── credentials/
│   └── MachadorApi.credentials.ts
├── nodes/
│   └── llms/
│       └── LmChatMachador/
│           ├── LmChatMachador.node.ts
│           └── machador-dark.svg
├── dist/                    # Built files (created after npm run build)
├── package.json
├── tsconfig.json
└── README.md

Support
Getting Help

GitHub Issues: Report bugs or request features
n8n Community: Ask questions in the forum
Machador Support: docs.machador.net

Contributing
Contributions are welcome! Please:

Fork the repository
Create a feature branch
Make your changes
Submit a pull request


License
MIT License
Copyright 2022 n8n
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Changelog
Version 1.0.0
Initial Release

✨ Machador Chat Model node
✅ Full LangChain compatibility
🎛️ Configurable parameters (temperature, max tokens, etc.)
📄 JSON response format support
🔐 Secure API authentication
🌐 Dynamic model loading