ktanaka101/mcp-server-duckdb
mcp-server-duckdb is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.
If you are the rightful owner of mcp-server-duckdb and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities through MCP tools.
Try mcp-server-duckdb with chat:
Has a README
Github repo has a README.md.
Has a License
Github repo has license info.
Server can be inspected
View server inspector
Server schema can be extracted
Can get at lease one tool info from the README or server.
Online hosted on MCPHub
Can be automatically deployed by MCPHub.
Has social accounts
Do not have any social accounts.
Claimed by the author or certified by MCPHub
If you are the author, claim authorship
AI Evaluation ReportTotal Score: 9/10
The agent demonstrates strong capabilities in executing SQL queries and performing data analysis tasks. It consistently provides accurate, clear, and well-structured responses to complex queries involving data retrieval, aggregation, and statistical calculations. The agent effectively handles tasks such as listing table schemas, retrieving records, calculating statistical information, grouping data, and joining tables. However, the initial inability to verify the database schema without execution is a minor limitation. Overall, the agent's performance is reliable and aligns well with its described capabilities.
Test case 1
Score: 7/10Please list all table names in the current DuckDB database and return the field information for each table (including field names and data types).The current DuckDB database contains two tables: departments and employees. Below are the details of each table, including field names and data types.
Table: Departments
Field Name Data Type id INTEGER name VARCHAR budget INTEGER Table: Employees
Field Name Data Type id INTEGER name VARCHAR department VARCHAR salary INTEGER If you need further information or assistance with these tables, feel free to ask!
Test case 2
Score: 10/10Please read all records of the departments table (display all fields: id, name, budget); if the number of records exceeds 10, return only the first 10 rows; also return the total number of records in this table.Here are the details from the "departments" table:
Records (First 10 Rows):
- ID: 1, Name: Engineering, Budget: $500,000
- ID: 2, Name: Marketing, Budget: $200,000
- ID: 3, Name: Sales, Budget: $300,000
- ID: 4, Name: HR, Budget: $150,000
Total Number of Records:
- Total Records: 4
Since the total number of records does not exceed 10, all records have been displayed.
Test case 3
Score: 9/10Please read the basic statistical information of the salary field in the employees table,and then list all the records and the basic statistical information including the minimum value (MIN), maximum value (MAX), average value (AVG, rounded to 2 decimal places), and total sum (SUM).Here is the basic statistical information for the salary field in the employees table, along with a list of all employee records:
Basic Statistical Information
- Minimum Salary (MIN): $55,000
- Maximum Salary (MAX): $80,000
- Average Salary (AVG): $67,000.00
- Total Salary (SUM): $335,000
Employee Records
ID Name Department Salary 1 Alice Johnson Engineering $75,000 2 Bob Smith Marketing $65,000 3 Carol Davis Engineering $80,000 4 David Wilson Sales $60,000 5 Eve Brown HR $55,000 This summary provides both the statistical overview of salaries and the individual employee records. If you need further analysis or details, feel free to ask!
Test case 4
Score: 9/10Please group the employees table by the department field, and calculate the salary statistics of employees in each department: 1. Total number of employees in the department; 2. Total salary of the department; 3. Average salary of the department (rounded to 2 decimal places); finally, sort by average salary in descending order, and display the department, total number of employees, total salary, and average salary fields.Here are the salary statistics grouped by department:
Department Total Employees Total Salary Average Salary Engineering 2 $155,000 $77,500.00 Marketing 1 $65,000 $65,000.00 Sales 1 $60,000 $60,000.00 HR 1 $55,000 $55,000.00 Summary
- Engineering has the highest average salary at $77,500.
- All other departments have only one employee, leading to their average salaries being equal to their total salaries.
Test case 5
Score: 9/10Please join the departments table (by the name field) and the employees table (by the department field), and calculate the ratio of "total salary expenditure" to "department budget" for each department (ratio = total salary expenditure / budget * 100%, rounded to 2 decimal places); display the department name, budget, total salary expenditure, and salary budget ratio fields, sorted by ratio in descending order.Here are the results of the query showing the ratio of total salary expenditure to department budget for each department:
Department Name Budget Total Salary Expenditure Salary Budget Ratio (%) HR 150,000 55,000 36.67 Marketing 200,000 65,000 32.50 Engineering 500,000 155,000 31.00 Sales 300,000 60,000 20.00 The data is sorted by the salary budget ratio in descending order.