Piriod MCP Server
Connects Claude with Piriod.com API to manage invoicing and payments, enabling listing/creating invoices, searching customers, and viewing payments through natural language.
README
Piriod MCP Server
Servidor MCP (Model Context Protocol) que conecta Claude con la API REST de Piriod.com para gestionar facturación y pagos directamente desde conversaciones con Claude.
Qué hace
Expone 4 tools que Claude puede usar para:
- Listar y filtrar facturas
- Crear y finalizar facturas con líneas de detalle
- Buscar clientes por nombre o email
- Listar pagos por estado
Requisitos
- Node.js 18 o superior
- Una cuenta en Piriod.com con acceso a la API
- Claude Desktop
Instalación
git clone https://github.com/cevidallara/piriod-mcp.git
cd piriod-mcp
npm install
Variables de entorno
| Variable | Descripción |
|---|---|
PIRIOD_TOKEN |
Token de API de Piriod |
PIRIOD_ORG |
ID de la organización (empieza con acc_) |
Puedes obtenerlos desde el panel de configuración de tu cuenta en Piriod.com.
Conectar a Claude Desktop
Edita el archivo de configuración de Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Agrega la siguiente configuración:
{
"mcpServers": {
"piriod": {
"command": "node",
"args": ["/ruta/absoluta/a/piriod-mcp/index.js"],
"env": {
"PIRIOD_TOKEN": "tu_token_aqui",
"PIRIOD_ORG": "acc_xxxxxxxxxx"
}
}
}
}
Reinicia Claude Desktop. El servidor aparecerá disponible en el menú de herramientas.
Tools disponibles
list_invoices
Lista las facturas con filtros opcionales.
| Parámetro | Tipo | Descripción |
|---|---|---|
status |
string | draft, finalized o paid |
customer |
string | ID del cliente, ej: cus_xxx |
Ejemplo de uso en Claude:
"Muéstrame todas las facturas finalizadas del cliente cus_abc123"
create_invoice
Crea una factura en estado draft y la finaliza automáticamente.
| Parámetro | Tipo | Descripción |
|---|---|---|
customer |
string | ID del cliente, ej: cus_xxx |
document |
string | ID del tipo de documento, ej: US1 |
date |
string | Fecha de emisión en formato YYYY-MM-DD |
due_date |
string | Fecha de vencimiento en formato YYYY-MM-DD |
lines |
array | Líneas de la factura (ver estructura abajo) |
Estructura de cada línea:
{
"name": "Servicio de consultoría",
"quantity": 2,
"amount": 500.00
}
Ejemplo de uso en Claude:
"Crea una factura para el cliente cus_abc123 por 3 horas de soporte a $100 cada una, con vencimiento el 30 de abril"
find_customer
Busca clientes por nombre o email.
| Parámetro | Tipo | Descripción |
|---|---|---|
search |
string | Nombre o email a buscar |
Ejemplo de uso en Claude:
"Busca el cliente con email juan@empresa.com"
list_payments
Lista los pagos con filtro opcional por estado.
| Parámetro | Tipo | Descripción |
|---|---|---|
status |
string | requires_payment_method, processing o succeeded |
Ejemplo de uso en Claude:
"¿Cuáles pagos están en estado processing?"
Stack
- Node.js con ES Modules
- @modelcontextprotocol/sdk
- zod para validación de parámetros
Licencia
ISC
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.