Apicbase MCP by usefulapi

Read recipes, ingredients, suppliers, stock and purchase orders in Apicbase.

Should I use this

Quality & Safety

B
Description quality
84%
Schema completeness
85%
Naming quality
79%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (11)

  • LOWTool 'apicbase_list_libraries' description lacks action verbin apicbase_list_libraries
  • LOWTool 'apicbase_list_outlets' description lacks action verbin apicbase_list_outlets
  • LOWTool 'apicbase_list_users' description lacks action verbin apicbase_list_users
  • LOWTool 'apicbase_get_user' description lacks action verbin apicbase_get_user
  • LOWTool 'apicbase_list_suppliers' description lacks action verbin apicbase_list_suppliers
  • LOWTool 'apicbase_get_supplier' description lacks action verbin apicbase_get_supplier
  • LOWTool 'apicbase_list_supplier_packages' description lacks action verbin apicbase_list_supplier_packages
  • LOWTool 'apicbase_get_ingredient' description lacks action verbin apicbase_get_ingredient
  • LOWTool 'apicbase_get_recipe_financials' description lacks action verbin apicbase_get_recipe_financials
  • LOWTool 'apicbase_get_purchase_order' description lacks action verbin apicbase_get_purchase_order

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~4,250Tokens (tool definitions)
~1.4 KBTypical response size
Significant attention impact (3.32% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "apicbase": {
      "url": "https://apicbase.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://apicbase.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (22)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢apicbase_get_active_library

The library these tools read (id, name, status) and the signed-in user's name. Start here to check the connection.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_libraries

Every library the signed-in user can access (id, name, status). Switching libraries in Apicbase changes the active library.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_currency

The library's default currency (code, symbol, name). Monetary values are shown in this currency.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_custom_fields(name, type, model)

The custom fields defined in the library, with their type and the model they apply to. Use them to read custom values on other records.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only fields with this name.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "type": {
      "description": "Only fields of this type.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "model": {
      "description": "Only fields for this model.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_outlets(name, ordering, page)

The outlets (locations) of the library, one page at a time, with their details.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only outlets whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_users(page, page_size)

The users of the library, one page at a time. The reply includes each user's name and email.

Input Schema

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_user(user_id)

One user of the library by id, with the roles and outlets they hold.

Input Schema

{
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The user id (from apicbase_list_users)."
    }
  },
  "required": [
    "user_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_user_roles(name, page, page_size)

The user roles defined in the library. Roles set what each user may do in Apicbase.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only roles whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_suppliers(ordering, page, page_size)

The suppliers of the library, one page at a time.

Input Schema

{
  "type": "object",
  "properties": {
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_supplier(supplier_id)

One supplier by id, with its contact and ordering details.

Input Schema

{
  "type": "object",
  "properties": {
    "supplier_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The supplier id (from apicbase_list_suppliers)."
    }
  },
  "required": [
    "supplier_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_supplier_packages(supplier_id, stock_item_id, active, orderable, ordering, ...)

The supplier packages (how a supplier sells a stock item: package size, article number, price), one page at a time.

Input Schema

{
  "type": "object",
  "properties": {
    "supplier_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The supplier id (from apicbase_list_suppliers)."
    },
    "stock_item_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The stock item id (from apicbase_list_stock_items)."
    },
    "active": {
      "description": "Only active (true) or inactive (false) packages.",
      "type": "boolean"
    },
    "orderable": {
      "description": "Only orderable (true) or not orderable (false) packages.",
      "type": "boolean"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_ingredients(name, supplier, modified_date__gt, ordering, page, ...)

The ingredients of the library, one page at a time. Filter by name, supplier or the last change date.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only ingredients whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "supplier": {
      "description": "Only ingredients from this supplier.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "modified_date__gt": {
      "description": "Only ingredients changed after this date (sync).",
      "type": "string",
      "maxLength": 40,
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_ingredient(ingredient_id)

One ingredient by id, with its composition and allergen data.

Input Schema

{
  "type": "object",
  "properties": {
    "ingredient_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The ingredient id (from apicbase_list_ingredients)."
    }
  },
  "required": [
    "ingredient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_recipes(name, outlet, modified_date__gt, ordering, page, ...)

The recipes of the library, one page at a time. Filter by name, outlet or the last change date.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only recipes whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "outlet": {
      "description": "Only recipes linked to this outlet id.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "modified_date__gt": {
      "description": "Only recipes changed after this date (sync).",
      "type": "string",
      "maxLength": 40,
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_recipe(recipe_id)

One recipe by id: its yield, sell price, outlet prices and nutrition summary. Ingredient lines are in the reply.

Input Schema

{
  "type": "object",
  "properties": {
    "recipe_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The recipe id (from apicbase_list_recipes)."
    }
  },
  "required": [
    "recipe_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_recipe_financials(recipe_id, outlet, food_cost_mode)

The food cost and margin of one recipe, optionally for one outlet.

Input Schema

{
  "type": "object",
  "properties": {
    "recipe_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The recipe id (from apicbase_list_recipes)."
    },
    "outlet": {
      "description": "The outlet id whose prices and costs to use.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "food_cost_mode": {
      "description": "The food cost mode the vendor accepts (see the reply).",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    }
  },
  "required": [
    "recipe_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_menus(name, modified_date__gt, ordering, page, page_size)

The menus of the library, one page at a time. Filter by name or the last change date.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only menus whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "modified_date__gt": {
      "description": "Only menus changed after this date (sync).",
      "type": "string",
      "maxLength": 40,
      "pattern": "^\\d{4}-\\d{2}-\\d{2}([T ][\\d:.+Z-]*)?$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_stock_items(name, ordering, page, page_size)

The stock items of the library (what is counted and ordered), one page at a time.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Only stock items whose name matches.",
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_waste_events(outlet_id, status, ordering, page, page_size)

The waste events recorded for one outlet (stock thrown away), one page at a time.

Input Schema

{
  "type": "object",
  "properties": {
    "outlet_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The outlet id (from apicbase_list_outlets)."
    },
    "status": {
      "description": "Only events with this status.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [
    "outlet_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_list_purchase_orders(supplier, outlet, status, ordering, page, ...)

The purchase orders of the library, one page at a time. Filter by supplier, outlet or status.

Input Schema

{
  "type": "object",
  "properties": {
    "supplier": {
      "description": "Only orders for this supplier id.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "outlet": {
      "description": "Only orders for this outlet id.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "status": {
      "description": "Only orders with this status.",
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
    },
    "ordering": {
      "description": "Sort field, for example name or -modified_date (prefix - for descending).",
      "type": "string",
      "maxLength": 60,
      "pattern": "^-?[a-z_]+$"
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_get_purchase_order(purchase_order_id)

One purchase order by id, with its lines.

Input Schema

{
  "type": "object",
  "properties": {
    "purchase_order_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "The purchase order id (from apicbase_list_purchase_orders)."
    }
  },
  "required": [
    "purchase_order_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢apicbase_global_search(q, page, page_size)

Search ingredients, recipes, menus, stock items, purchase orders and more for a text. The reply groups the hits by type.

Input Schema

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[^\\u0000-\\u001f\\u007f]*$",
      "description": "The text to search for."
    },
    "page": {
      "description": "Page number, from 1 (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "page_size": {
      "description": "Records per page, 1-200 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [
    "q"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded22 tools