I
Ibm Bob Sap Northwind Customer MCP Server
Automated First MCP Server using IBM BOB
Created 4/2/2026
Updated about 19 hours ago
README
Repository documentation and setup instructions
Northwind MCP Server
A Model Context Protocol (MCP) server that provides access to the Northwind OData API. This server exposes 26 tools for querying various Northwind database entities and views.
Features
- 26 comprehensive tools covering all Northwind endpoints
- OData query support with filtering, sorting, pagination, and field selection
- Core entities: Customers, Products, Orders, Employees, Categories, Suppliers, and more
- Business views: Sales reports, invoices, product analytics, and summaries
Installation
npm install
npm run build
Available Tools
Core Entity Tools
- get_customers - Query customer data
- get_products - Query product catalog
- get_orders - Query order headers
- get_order_details - Query order line items
- get_employees - Query employee information
- get_categories - Query product categories
- get_suppliers - Query supplier information
- get_shippers - Query shipping companies
- get_regions - Query geographic regions
- get_territories - Query sales territories
- get_customer_demographics - Query customer demographic data
Business View Tools
- get_alphabetical_products - Products sorted alphabetically
- get_category_sales_1997 - Sales by category for 1997
- get_current_product_list - Current product listings
- get_customers_suppliers_by_city - Customers and suppliers grouped by city
- get_invoices - Invoice details
- get_order_details_extended - Extended order details with calculations
- get_order_subtotals - Order subtotal calculations
- get_orders_query - Advanced order queries
- get_product_sales_1997 - Product sales for 1997
- get_products_above_average_price - Products priced above average
- get_products_by_category - Products grouped by category
- get_sales_by_category - Sales grouped by category
- get_sales_totals_by_amount - Sales totals by amount
- get_sales_by_quarter - Quarterly sales summary
- get_sales_by_year - Yearly sales summary
Query Parameters
All tools support the following OData query parameters:
- filter (optional): OData filter expression
- Example:
"Country eq 'USA'","UnitPrice gt 20"
- Example:
- top (optional): Number of records to return (1-100)
- skip (optional): Number of records to skip (for pagination)
- orderby (optional): Sort expression
- Example:
"CompanyName desc","UnitPrice asc"
- Example:
- select (optional): Comma-separated list of fields to return
- Example:
"CustomerID,CompanyName,City"
- Example:
Usage Examples
Get customers from USA
{
"filter": "Country eq 'USA'",
"top": 10
}
Get expensive products
{
"filter": "UnitPrice gt 50",
"orderby": "UnitPrice desc",
"top": 20
}
Get orders with pagination
{
"top": 25,
"skip": 50,
"orderby": "OrderDate desc"
}
Get specific customer fields
{
"select": "CustomerID,CompanyName,City,Country",
"filter": "City eq 'London'"
}
OData Filter Operators
- Comparison:
eq(equals),ne(not equals),gt(greater than),ge(greater or equal),lt(less than),le(less or equal) - Logical:
and,or,not - String:
startswith(),endswith(),substringof() - Examples:
"Country eq 'USA' and City eq 'Seattle'""UnitPrice gt 20 and UnitPrice lt 50""startswith(CompanyName, 'A')"
Configuration
The server connects to the public Northwind OData API:
https://services.odata.org/v2/northwind/northwind.svc
Development
# Install dependencies
npm install
# Build the server
npm run build
# The server runs via stdio transport
node build/index.js
MCP Integration
Add to your MCP settings:
{
"mcpServers": {
"northwind": {
"command": "node",
"args": ["C:/Users/YOUR_USERNAME/AppData/Roaming/Bob-Code/MCP/northwind-server/build/index.js"]
}
}
}
License
MIT
Made with Bob
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-ibm_bob-sap_northwind_customer_mcp_server
Cursor configuration (mcp.json)
{
"mcpServers": {
"poojithrachakada-ibm-bob-sap-northwind-customer-mcp-server": {
"command": "npx",
"args": [
"poojithrachakada-ibm-bob-sap-northwind-customer-mcp-server"
]
}
}
}