SQL Account (read-only)
Read-only MCP server letting Claude or ChatGPT query SQL Account customers, stock
SQL Account (read-only) is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- What it can do
- Read-only
- Access
- Needs a secret key or token
- Version
- 0.1.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sql-account-mcp --env SQLACC_ACCESS_KEY='<SQLACC_ACCESS_KEY>' --env SQLACC_SECRET_KEY='<SQLACC_SECRET_KEY>' -- npx -y sql-account-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"sql-account-mcp": {
"command": "npx",
"args": [
"-y",
"sql-account-mcp"
],
"env": {
"SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
"SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"sql-account-mcp": {
"command": "npx",
"args": [
"-y",
"sql-account-mcp"
],
"env": {
"SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
"SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sql-account-mcp": {
"command": "npx",
"args": [
"-y",
"sql-account-mcp"
],
"env": {
"SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
"SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"sql-account-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sql-account-mcp"
],
"env": {
"SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
"SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add sql-account-mcp --env SQLACC_ACCESS_KEY='<SQLACC_ACCESS_KEY>' --env SQLACC_SECRET_KEY='<SQLACC_SECRET_KEY>' -- npx -y sql-account-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sql-account-mcp]
command = "npx"
args = ["-y", "sql-account-mcp"]
env = { SQLACC_ACCESS_KEY = "<SQLACC_ACCESS_KEY>", SQLACC_SECRET_KEY = "<SQLACC_SECRET_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sql-account-mcp": {
"command": "npx",
"args": [
"-y",
"sql-account-mcp"
],
"env": {
"SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>",
"SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Or run: gemini mcp add -s user -e SQLACC_ACCESS_KEY='<SQLACC_ACCESS_KEY>' -e SQLACC_SECRET_KEY='<SQLACC_SECRET_KEY>' sql-account-mcp npx -- -y sql-account-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "sql-account-mcp": { "command": "npx", "args": [ "-y", "sql-account-mcp" ], "env": { "SQLACC_ACCESS_KEY": "<SQLACC_ACCESS_KEY>", "SQLACC_SECRET_KEY": "<SQLACC_SECRET_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SQLACC_ACCESS_KEYAccess key of your SQL Account API userRequiredSQLACC_SECRET_KEYSecret key of your SQL Account API userRequiredSQLACC_BASE_URLSQL Account API address (default https://api.sql.my)
About SQL Account (read-only)
Connect an AI assistant to SQL Account and ask questions about customers, stock items, sales and purchase invoices, and payments in plain language. The server runs locally over stdio and calls the SQL Account REST API with your own access and secret keys, signing each request with AWS Signature Version 4.
Every tool is a lookup. Requests are limited to HTTP GET, so the server cannot create, edit or delete records. Queries can be filtered by exact field values, and results are returned in pages of up to 50 records.
It suits accounting and operations staff at businesses that already run SQL Account and want quick answers about balances, stock levels or payments without opening the desktop software. The SQL Account API service must be enabled by the vendor, and the project is unofficial and not endorsed by E Stream MSC.
Tools this server provides (11)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 11 tools only read data.
From the server's own tool labels and tool names; not verified by us.
- list_customersName suggests: reads
- Customers from Maintain Customer, by code or company name
- get_customerName suggests: reads
- Get a single customer by code or company name
- list_stock_itemsName suggests: reads
- Stock items, with UOM and price lines
- get_stock_itemName suggests: reads
- Get a single stock item
- list_sales_invoicesName suggests: reads
- Sales invoices by customer, number or date, with item lines
- get_sales_invoiceName suggests: reads
- Get a single sales invoice
- list_purchase_invoicesName suggests: reads
- Purchase invoices by supplier, number or date, with item lines
- get_purchase_invoiceName suggests: reads
- Get a single purchase invoice
- list_customer_paymentsName suggests: reads
- Payments received from customers
- list_agentsName suggests: reads
- Sales agents
- query_recordsName suggests: reads
- Query any supported record type with exact-match filters
What it does
- Customer and stock lookup
- Find customers by code or company name and check stock items with unit of measure and price lines.
- Invoice queries
- Search sales and purchase invoices by customer, number or date, including their item lines.
- Payment history
- List payments received from customers to answer questions about what has been paid.
- Generic record queries
- Query many SQL Account record types with exact-match filters on their field names.
- Read-only access
- Only GET requests are sent, so the assistant cannot change data in SQL Account.
- Local key handling
- API keys stay on the user's machine and are used only to sign requests to the SQL Account API.
Good for
- Asking an AI assistant how much a specific customer has been invoiced in a given month
- Checking stock on hand for an item before quoting a customer
- Reviewing which payments were received on a particular date
- Looking up the line items on a sales or purchase invoice by number
Pricing
Open source
Free MIT-licensed server. SQL Account API access carries a setup fee charged by E Stream.
Prices change. Check z9systems.com before you buy.
SQL Account (read-only) FAQ
Can SQL Account (read-only) change data in SQL Account?
No. It only sends HTTP GET requests and exposes no tools that write records.
What do I need before installing SQL Account (read-only)?
SQL Account 5.2025.1038.875 or newer with the SQL Account API Service set up, an API user with an access key and secret key, and Node.js 18.17 or newer.
How many records does each call return?
The SQL Account API returns at most 50 records per call, and the tools page through results with an offset.
Which AI clients can use SQL Account (read-only)?
Claude Desktop, Claude Code, Cursor, Windsurf and other MCP clients are supported, and it can also run in Docker.
Is SQL Account (read-only) free?
Yes. SQL Account (read-only) is open source, so you can use and self-host it for free.
How do I add SQL Account (read-only) to Claude Code?
Run this command in your terminal: claude mcp add sql-account-mcp --env SQLACC_ACCESS_KEY='<SQLACC_ACCESS_KEY>' --env SQLACC_SECRET_KEY='<SQLACC_SECRET_KEY>' -- npx -y sql-account-mcp
What are the best alternatives to SQL Account (read-only)?
The closest alternatives to SQL Account (read-only) are AutoCount Cloud Accounting (read-only), Mobile Accounting, AccountsConnector for Sage Accounting, sevdesk (unofficial) and Eqvitta MCP.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
