ERClinic MCP by usefulapi is an MCP server published by io.usefulapi, hosted at erclinic.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 15 tools, including erclinic_list_unities, erclinic_list_specialties, erclinic_list_professionals, erclinic_list_procedures, erclinic_list_insurance.
Find agenda times, read appointments; book, confirm and cancel them in ERClinic.
4,413 connections through 5 shared values. Tap any node.
List the clinic's units, and whether each accepts in-person and tele-consultation bookings. Good first call. GET /agenda/unities.
No parameters.
{
"name": "erclinic_list_unities",
"title": "List units",
"description": "List the clinic's units, and whether each accepts in-person and tele-consultation bookings. Good first call. GET /agenda/unities.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List units",
"readOnlyHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List active specialties (numeric ids), optionally only those of one professional. GET /agenda/specialties.
| Parameter | Type | Description |
|---|---|---|
| professional_id | string | Professional id (slug) from erclinic_list_professionals. |
{
"name": "erclinic_list_specialties",
"title": "List specialties",
"description": "List active specialties (numeric ids), optionally only those of one professional. GET /agenda/specialties.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug) from erclinic_list_professionals."
}
}
},
"annotations": {
"title": "List specialties",
"readOnlyHint": true
}
}List the clinic's professionals (id, name, gender, age range), optionally filtered by insurance, procedure or specialty. GET /agenda/professionals.
| Parameter | Type | Description |
|---|---|---|
| insurance_id | string | Insurance id (slug). Needs professional_id in the API; use only with the other filters. |
| procedure_id | string | Procedure id (slug). |
| specialty_id | string | Specialty id (numeric). |
{
"name": "erclinic_list_professionals",
"title": "List professionals",
"description": "List the clinic's professionals (id, name, gender, age range), optionally filtered by insurance, procedure or specialty. GET /agenda/professionals.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"insurance_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Insurance id (slug). Needs professional_id in the API; use only with the other filters."
},
"procedure_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Procedure id (slug)."
},
"specialty_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Specialty id (numeric)."
}
}
},
"annotations": {
"title": "List professionals",
"readOnlyHint": true
}
}List active procedures for one professional (id, name, preparation text). Insurance or specialty filters also need professional_id. GET /agenda/procedures.
| Parameter | Type | Description |
|---|---|---|
| insurance_id | string | Insurance id (slug). |
| specialty_id | string | Specialty id (numeric). |
| professional_id * | string | Professional id (slug). Required. |
{
"name": "erclinic_list_procedures",
"title": "List procedures",
"description": "List active procedures for one professional (id, name, preparation text). Insurance or specialty filters also need professional_id. GET /agenda/procedures.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"professional_id"
],
"properties": {
"insurance_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Insurance id (slug)."
},
"specialty_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Specialty id (numeric)."
},
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug). Required."
}
}
},
"annotations": {
"title": "List procedures",
"readOnlyHint": true
}
}List active insurance plans (convênios) with their ids, optionally for one professional. GET /agenda/insurance.
| Parameter | Type | Description |
|---|---|---|
| professional_id | string | Professional id (slug). |
{
"name": "erclinic_list_insurance",
"title": "List insurance plans",
"description": "List active insurance plans (convênios) with their ids, optionally for one professional. GET /agenda/insurance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug)."
}
}
},
"annotations": {
"title": "List insurance plans",
"readOnlyHint": true
}
}List dates with free agenda slots. Defaults: from today to 30 days ahead. Insurance or specialty filters need professional_id. GET /agenda/available-dates.
| Parameter | Type | Description |
|---|---|---|
| date_max | string | Last date, yyyy-mm-dd (default today + 30 days). |
| date_min | string | First date, yyyy-mm-dd (default today). |
| insurance_id | string | Insurance id (slug). |
| procedure_id | string | Procedure id (slug). |
| specialty_id | string | Specialty id (numeric). |
| professional_id | string | Professional id (slug). |
{
"name": "erclinic_get_available_dates",
"title": "Find dates with free slots",
"description": "List dates with free agenda slots. Defaults: from today to 30 days ahead. Insurance or specialty filters need professional_id. GET /agenda/available-dates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"date_max": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, yyyy-mm-dd (default today + 30 days)."
},
"date_min": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, yyyy-mm-dd (default today)."
},
"insurance_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Insurance id (slug)."
},
"procedure_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Procedure id (slug)."
},
"specialty_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Specialty id (numeric)."
},
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug)."
}
}
},
"annotations": {
"title": "Find dates with free slots",
"readOnlyHint": true
}
}List the free times on one date. Insurance or specialty filters need professional_id. GET /agenda/available-times.
| Parameter | Type | Description |
|---|---|---|
| date * | string | The date to check, yyyy-mm-dd. |
| insurance_id | string | Insurance id (slug). |
| procedure_id | string | Procedure id (slug). |
| specialty_id | string | Specialty id (numeric). |
| professional_id | string | Professional id (slug). |
{
"name": "erclinic_get_available_times",
"title": "Find free times on a date",
"description": "List the free times on one date. Insurance or specialty filters need professional_id. GET /agenda/available-times.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date to check, yyyy-mm-dd."
},
"insurance_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Insurance id (slug)."
},
"procedure_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Procedure id (slug)."
},
"specialty_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Specialty id (numeric)."
},
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug)."
}
}
},
"annotations": {
"title": "Find free times on a date",
"readOnlyHint": true
}
}List appointments by date range, appointment id, patient, professional or status (AGENDADO, CANCELADO, CONFIRMADO, ATENDIDO). GET /agenda/appointments/list.
| Parameter | Type | Description |
|---|---|---|
| id | string | One appointment id. |
| status | string | AGENDADO, CANCELADO, CONFIRMADO or ATENDIDO. |
| date_max | string | Up to this date, yyyy-mm-dd. |
| date_min | string | From this date, yyyy-mm-dd. |
| patient_id | string | Only this patient's appointments. |
| professional_id | string | Only this professional's appointments (sent as profissional_id). |
{
"name": "erclinic_list_appointments",
"title": "List appointments",
"description": "List appointments by date range, appointment id, patient, professional or status (AGENDADO, CANCELADO, CONFIRMADO, ATENDIDO). GET /agenda/appointments/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "One appointment id."
},
"status": {
"type": "string",
"description": "AGENDADO, CANCELADO, CONFIRMADO or ATENDIDO."
},
"date_max": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Up to this date, yyyy-mm-dd."
},
"date_min": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "From this date, yyyy-mm-dd."
},
"patient_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Only this patient's appointments."
},
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Only this professional's appointments (sent as profissional_id)."
}
}
},
"annotations": {
"title": "List appointments",
"readOnlyHint": true
}
}Find one patient by id, CPF or phone. Returns personal data (sensitive, LGPD). GET /patients.
| Parameter | Type | Description |
|---|---|---|
| id | string | Patient id (slug). |
| cpf | string | Patient CPF (Brazilian tax id), digits. |
| phone | string | Patient phone. |
{
"name": "erclinic_find_patient",
"title": "Find a patient",
"description": "Find one patient by id, CPF or phone. Returns personal data (sensitive, LGPD). GET /patients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Patient id (slug)."
},
"cpf": {
"type": "string",
"description": "Patient CPF (Brazilian tax id), digits."
},
"phone": {
"type": "string",
"description": "Patient phone."
}
}
},
"annotations": {
"title": "Find a patient",
"readOnlyHint": true
}
}List patients whose birthday is on one month and day (mm-dd). Returns personal data (sensitive, LGPD). GET /patients/birthday.
| Parameter | Type | Description |
|---|---|---|
| birthday * | string | Month and day, mm-dd. |
{
"name": "erclinic_list_birthdays",
"title": "List patients with a birthday",
"description": "List patients whose birthday is on one month and day (mm-dd). Returns personal data (sensitive, LGPD). GET /patients/birthday.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"birthday"
],
"properties": {
"birthday": {
"type": "string",
"pattern": "^\\d{2}-\\d{2}$",
"description": "Month and day, mm-dd."
}
}
},
"annotations": {
"title": "List patients with a birthday",
"readOnlyHint": true
}
}Book a new appointment in the clinic agenda. Creates a real booking that patients and staff see. POST /agenda/appointments/.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Appointment date, yyyy-mm-dd. |
| time * | string | Appointment time, HH:MM. |
| modality | string | PRESENCIAL (in person) or TELECONSULTA (tele-consultation). |
| patient_id * | string | Patient id (slug). Required. |
| patient_cpf * | string | Patient CPF. Required. |
| insurance_id * | string | Insurance id (slug). Required. |
| patient_name * | string | Patient full name. Required. |
| procedure_id | any | Procedure id (slug). |
| professional_id * | string | Professional id (slug). Required (sent as profissional_id). |
| patient_cell_phone * | string | Patient mobile phone. Required. |
{
"name": "erclinic_create_appointment",
"title": "Create an appointment",
"description": "Book a new appointment in the clinic agenda. Creates a real booking that patients and staff see. POST /agenda/appointments/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"date",
"time",
"insurance_id",
"professional_id",
"patient_id",
"patient_name",
"patient_cpf",
"patient_cell_phone"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Appointment date, yyyy-mm-dd."
},
"time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
"description": "Appointment time, HH:MM."
},
"modality": {
"enum": [
"PRESENCIAL",
"TELECONSULTA"
],
"type": "string",
"description": "PRESENCIAL (in person) or TELECONSULTA (tele-consultation)."
},
"patient_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Patient id (slug). Required."
},
"patient_cpf": {
"type": "string",
"description": "Patient CPF. Required."
},
"insurance_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Insurance id (slug). Required."
},
"patient_name": {
"type": "string",
"description": "Patient full name. Required."
},
"procedure_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$"
},
{
"type": "null"
}
],
"description": "Procedure id (slug)."
},
"professional_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Professional id (slug). Required (sent as profissional_id)."
},
"patient_cell_phone": {
"type": "string",
"description": "Patient mobile phone. Required."
}
}
},
"annotations": {
"title": "Create an appointment",
"destructiveHint": true
}
}Set one appointment's status to CONFIRMADO. Repeating the call leaves it confirmed. POST /agenda/appointments/{agenda_id}/confirm.
| Parameter | Type | Description |
|---|---|---|
| agenda_id * | string | Appointment id from erclinic_list_appointments. |
{
"name": "erclinic_confirm_appointment",
"title": "Confirm an appointment",
"description": "Set one appointment's status to CONFIRMADO. Repeating the call leaves it confirmed. POST /agenda/appointments/{agenda_id}/confirm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"agenda_id"
],
"properties": {
"agenda_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Appointment id from erclinic_list_appointments."
}
}
},
"annotations": {
"title": "Confirm an appointment",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set one appointment's status to CANCELADO. The slot is freed for other bookings. POST /agenda/appointments/{agenda_id}/cancel.
| Parameter | Type | Description |
|---|---|---|
| agenda_id * | string | Appointment id from erclinic_list_appointments. |
{
"name": "erclinic_cancel_appointment",
"title": "Cancel an appointment",
"description": "Set one appointment's status to CANCELADO. The slot is freed for other bookings. POST /agenda/appointments/{agenda_id}/cancel.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"agenda_id"
],
"properties": {
"agenda_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Appointment id from erclinic_list_appointments."
}
}
},
"annotations": {
"title": "Cancel an appointment",
"destructiveHint": true
}
}Register a new patient record in the clinic. Creates personal data (sensitive, LGPD). POST /patients.
| Parameter | Type | Description |
|---|---|---|
| uf | ["string","null"] | State code, two letters. |
| cep | ["string","null"] | Postal code (CEP). |
| cpf * | string | CPF. Required. |
| city | ["string","null"] | City. |
| name * | string | Full name. Required. |
| any | Email. | |
| phone * | string | Phone. Required. |
| gender * | string | M or F. |
| address | ["string","null"] | Street address. |
| birthdate * | string | Birth date, yyyy-mm-dd. Required. |
| observation | ["string","null"] | Free-text note. |
{
"name": "erclinic_create_patient",
"title": "Create a patient",
"description": "Register a new patient record in the clinic. Creates personal data (sensitive, LGPD). POST /patients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"cpf",
"phone",
"birthdate",
"gender"
],
"properties": {
"uf": {
"type": [
"string",
"null"
],
"description": "State code, two letters."
},
"cep": {
"type": [
"string",
"null"
],
"description": "Postal code (CEP)."
},
"cpf": {
"type": "string",
"description": "CPF. Required."
},
"city": {
"type": [
"string",
"null"
],
"description": "City."
},
"name": {
"type": "string",
"description": "Full name. Required."
},
"email": {
"anyOf": [
{
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
{
"type": "null"
}
],
"description": "Email."
},
"phone": {
"type": "string",
"description": "Phone. Required."
},
"gender": {
"enum": [
"M",
"F"
],
"type": "string",
"description": "M or F."
},
"address": {
"type": [
"string",
"null"
],
"description": "Street address."
},
"birthdate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Birth date, yyyy-mm-dd. Required."
},
"observation": {
"type": [
"string",
"null"
],
"description": "Free-text note."
}
}
},
"annotations": {
"title": "Create a patient",
"destructiveHint": true
}
}Update a patient's record. The API requires every field, so send the current value for any field you do not change. Personal data (sensitive, LGPD). PUT /patients/{patient_id}.
| Parameter | Type | Description |
|---|---|---|
| uf * | string | State code (send the current value if unchanged). |
| cep * | string | Postal code (send the current value if unchanged). |
| cpf * | string | CPF. |
| city * | string | City (send the current value if unchanged). |
| name * | string | Full name. |
| email * | string | Email (send the current value if unchanged). |
| phone * | string | Phone. |
| gender * | string | M or F. |
| address * | string | Street address (send the current value if unchanged). |
| birthdate * | string | Birth date, yyyy-mm-dd. |
| patient_id * | string | Patient id (slug). Sent in the path and as the id query value. |
| observation * | string | Free-text note (send the current value if unchanged). |
{
"name": "erclinic_update_patient",
"title": "Update a patient",
"description": "Update a patient's record. The API requires every field, so send the current value for any field you do not change. Personal data (sensitive, LGPD). PUT /patients/{patient_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"patient_id",
"name",
"cpf",
"phone",
"birthdate",
"email",
"gender",
"address",
"city",
"uf",
"cep",
"observation"
],
"properties": {
"uf": {
"type": "string",
"description": "State code (send the current value if unchanged)."
},
"cep": {
"type": "string",
"description": "Postal code (send the current value if unchanged)."
},
"cpf": {
"type": "string",
"description": "CPF."
},
"city": {
"type": "string",
"description": "City (send the current value if unchanged)."
},
"name": {
"type": "string",
"description": "Full name."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email (send the current value if unchanged)."
},
"phone": {
"type": "string",
"description": "Phone."
},
"gender": {
"enum": [
"M",
"F"
],
"type": "string",
"description": "M or F."
},
"address": {
"type": "string",
"description": "Street address (send the current value if unchanged)."
},
"birthdate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Birth date, yyyy-mm-dd."
},
"patient_id": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_]+$",
"description": "Patient id (slug). Sent in the path and as the id query value."
},
"observation": {
"type": "string",
"description": "Free-text note (send the current value if unchanged)."
}
}
},
"annotations": {
"title": "Update a patient",
"idempotentHint": true,
"destructiveHint": true
}
}Tools for ERClinic, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which appointments do we have tomorrow, and which are still not confirmed?"; "Find the first free time for a cardiology visit next week with Dr. Silva."; "Who has a birthday this week among our patients?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes ERClinic data. Free plan: 50 tool calls per month. Run erclinic_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run erclinic_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run erclinic_upgrade without a plan: it returns both plans, each with a payment link for the user to open. erclinic_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.