mcpField
M
Machbase Mcp

Machbase Mcp

Local
github.com/machbaseDatabases8Updated 1w ago

About Machbase Mcp

Machbase Mcp connects Claude Desktop with Machbase Neo for natural-language database operations. It is intended for users working with Machbase data, including time-series data, and also provides searches of official documentation with explanations.

Key features

  1. 01Natural-language requests translated into database operations
  2. 02Create tables, manipulate data and run queries
  3. 03Query and analyze time-series data
  4. 04Search official Machbase documentation
  5. 05Connect Claude Desktop to Machbase Neo

Use cases

  1. 01Create and update database tables using chat
  2. 02Query recent sensor readings or logs
  3. 03Analyze time-series measurements
  4. 04Find guidance in Machbase documentation

MCP support

The MCP server exposes database operations and Machbase documentation search to Claude Desktop. It connects to Machbase Neo through its HTTP API using a Neo API token.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Machbase MCP Server v0.8.0

English | 한국어 | 日本語

Diagram

Overview

Blog (Korean): 클로드 MCP를 Machbase Neo에 연동하고, AI스럽게 사용해보기

This project is an MCP (Model Context Protocol) based server that enables natural language-based database operations through integration between Claude Desktop and Machbase Neo.

When users request database operations in natural language through Claude Desktop's MCP connection, the MCP server converts these requests into Machbase Neo commands and executes them.

Youtube Link

Key Features
  • Machbase Neo Official Documentation Search & AI-powered Explanations
    • Claude directly searches Machbase documentation to provide accurate information
  • Real-time Database Integration
    • Table creation, data manipulation, complex query execution
    • Natural language → SQL conversion through Claude
  • Time Series Data Analysis & Querying
    • Analysis of IoT sensor data, log data, and other time series data
  • Native Claude Desktop Integration
    • No LLM API key required, leverages Claude Desktop's built-in capabilities
How It Works
StepComponentRoleCommunication
1UserInput natural language requestChat interface
2Claude DesktopParse request & call MCP toolsMCP Protocol
3MCP ServerGenerate SQL & connect to MachbaseHTTP API (Neo API token)
4Machbase NeoExecute database operationsSQL queries

Data Flow:

User Request → Claude Desktop → MCP Server → Machbase Neo
↑                                                      ↓
Response ← Claude Interpretation ← MCP Response ← Query Results

Requirements

  • Machbase Neo 8.7.2 or later, started with token authentication enabled
    machbase-neo serve --http-enable-token-auth true
    
  • A Machbase Neo API token (see Issue a Neo API Token)
  • Claude Desktop for Windows, macOS, or Linux (beta, Ubuntu 22.04+ / Debian 12+)

Issue a Neo API Token

  1. Open the Machbase Neo web console (http://<neo-host>:5654) and sign in.

  2. Click the shield icon ①, then the + button next to TOKENS ②.

  3. Enter a name for the token ③ (e.g. machbase-mcp) and click Issue token ④.

    Create a Neo API token

  4. Copy the issued token with the copy button ⑤.

    Copy the Neo API token

The plaintext token is shown only once. If you lose it, issue a new token.

Installation

Quick Setup
Windows
  1. Install Claude Desktop and launch it once

  2. Download project from Git

    git clone https://github.com/machbase/machbase-mcp-server.git
    cd machbase-mcp-server/Machbase_MCP_Sever
    
  3. Run automatic installation

    MCP_Install.bat
    
  4. Set your Neo API token

    • Open the claude_desktop_config.json file shown at the end of the installation.
    • Replace YOUR_NEO_API_TOKEN with the token you issued.
    • Fully quit Claude Desktop (including the system tray icon) and start it again.
macOS
  1. Download project from Git

    git clone https://github.com/machbase/machbase-mcp-server.git
    cd machbase-mcp-server/Machbase_MCP_Sever
    
  2. Run automatic installation

    ./MCP_Install_mac.sh
    
  3. Set your Neo API token

    • Replace YOUR_NEO_API_TOKEN in ~/Library/Application Support/Claude/claude_desktop_config.json with the token you issued.
    • Quit Claude Desktop and start it again.
Linux
  1. Download project from Git

    git clone https://github.com/machbase/machbase-mcp-server.git
    cd machbase-mcp-server/Machbase_MCP_Sever
    
  2. Run automatic installation

    ./MCP_Install_linux.sh
    
  3. Set your Neo API token

    • Replace YOUR_NEO_API_TOKEN in ~/.config/Claude/claude_desktop_config.json with the token you issued.
    • Quit Claude Desktop and start it again.

After installation: Test with "Show me the Machbase table list!"

The installer adds only the machbase server to claude_desktop_config.json and keeps your other MCP servers and settings. Running it again to update keeps the token you already set.

Config File Location
OSclaude_desktop_config.json
Windows (Microsoft Store install)%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\
Windows (other installs)%APPDATA%\Claude\
macOS~/Library/Application Support/Claude/
Linux~/.config/Claude/
Manual Setup

For manual installation or if errors occur during the above installation process:

  1. Clone Repository

    git clone https://github.com/machbase/machbase-mcp-server.git
    cd machbase-mcp-server/Machbase_MCP_Sever
    
  2. Python Environment Setup

    # Using Conda
    conda create -n mcp python=3.11
    conda activate mcp
    
    # Using venv
    python -m venv mcp-env
    source mcp-env/bin/activate  # Linux/macOS
    # mcp-env\Scripts\activate   # Windows
    
  3. Install Dependencies

    pip install -r requirements.txt
    
  4. Claude Desktop and MCP Server Configuration

    • Copy Machbase.py and the neo folder to the Claude config folder (see Config File Location).
    • Add the machbase server to claude_desktop_config.json in the same folder:
    {
      "mcpServers": {
        "machbase": {
          "command": "C:/Users/<Username>/anaconda3/envs/mcp/python.exe",
          "args": ["C:/Users/<Username>/AppData/Roaming/Claude/Machbase.py"],
          "env": {
            "MACHBASE_HOST": "localhost",
            "MACHBASE_PORT": "5654",
            "MACHBASE_TOKEN": "<your Neo API token>"
          }
        }
      }
    }
    
    VariableDescriptionDefault
    MACHBASE_HOSTMachbase Neo host127.0.0.1
    MACHBASE_PORTMachbase Neo HTTP port5654
    MACHBASE_TOKENMachbase Neo API token(required)
Usage Examples

You can make natural language requests in Claude Desktop like these:

"Create a table for temperature logs"
"Insert today's temperature: 28.4°C at 9am"
"Show me the latest 10 rows from temperature_log"
"Search the Machbase documentation for 'data insertion'"
"Drop the table named old_sensor_data"
"Show average temperature over the past 3 days"
"What tables exist in my Machbase database?"
"List all columns in sensor_data"
"Generate a trend report for device_001"
Machbase MCP Server Evaluation Score
Update DateVersionScoreAverage Response TimeOverall EvaluationModel
2025-08-28v0.2.096 / 10022 secondThe quality of responses has improved compared to previous versions;
however, performance regarding TQL-related questions still appears to be less than perfect.
Claude Sonnet 4
2025-09-03v0.3.099 / 10061.5 secondThe response time is much longer, but the explanation is far more accurate and detailed than the previous version.Claude Sonnet 4
2025-09-09v0.4.0141 / 15045.29 secondThe speed has improved compared to before, but the script and TQL parts are still somewhat lackingClaude Sonnet 4
2025-10-14v0.5.0185 / 2003 secondThinking time significantly improved compared to before, but TQL and HTML-related areas still need improvement.Claude Sonnet 4.5
2025-10-24v0.6.0196 / 2002.6 secondImproved accuracy compared to version 0.5.0. DBMS-related content needs re-verification. Overall performance and response time have improved significantly.Claude Sonnet 4.5
2026-02-25v0.7.0198 / 2006.7 secondThe enhanced execution verification feature visibly compensates for code answer mistakes; accuracy has improved compared to the previous version (0.6.x)Claude Sonnet 4.6

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.