sql2json — security grade SAFE, quality 72/100

Security audit verdict: SAFE · quality 72/100

No red flags found in any of the 11 categories — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

by fsistemas · Agent Tool · ★ 55

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

🔒 Is sql2json safe to install? View the security audit →

About sql2json

sql2json Run SQL queries and get JSON (or CSV) on stdout — pipe it anywhere. connects to any SQLAlchemy-supported database, executes a query, and writes the results as JSON to standard output. No server, no framework, no boilerplate. Use cases Scheduled reports: run a cron job that pulls yesterday's sales and posts the JSON to a dashboard (Geckoboard, Grafana, etc.) Shell pipelines: pipe query results into , , or any CLI tool that speaks JSON AI agent data retrieval: let an LLM agent query your database with a single subprocess call — see AGENTS.md ETL glue: extract rows as JSON, transform with standard tools, load elsewhere Monitoring & alerting: script threshold checks against live database metrics Install SQLite works out of the box (it ships with Python). For PostgreSQL or MySQL, install the matching driver extra: Other databases work too — install any SQLAlchemy-supported driver (e.g. for MS SQL Server) alongside . Docker The image includes drivers for PostgreSQL

automationclicommand-line-toolconvertercsvdatabaseexcelexportjsonmysql

Quick Facts

Stars55
Forks11
LanguagePython
CategoryAgent Tool
LicenseMIT
Quality Score72.2503613308719/100
Last Updated2026-07-01
Created2019-12-21
Platformscli, python
Est. Tokens~17k

Compatible Skills

These tools work well together with sql2json for enhanced workflows:

  • exstruct — semantic(0.27)+complementary+rare_topics+same_lang+similar_pop+shared_platform (64%)
  • strimzi-kafka-cli — semantic(0.28)+complementary+rare_topics+same_lang+similar_pop+shared_platform (59%)
  • mcp-excel-server — semantic(0.24)+complementary+rare_topics+same_lang+similar_pop+shared_platform (58%)

sql2json alternative? Top 6 similar tools

Looking for a sql2json alternative? If you're comparing sql2json with other agent tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • python-substack by ma2za · ⭐ 173

    Write and safely manage Substack drafts from Markdown with Python, CLI, and MCP.

  • MCP-PostgreSQL-Ops by call518 · ⭐ 161

    🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, l

  • slowql by makroumi · ⭐ 140

    SQL static analyzer for performance, security, compliance and cost. 272 rules. Completely offline. Works in C

  • AutoRedTeam-Orchestrator by Coff0xc · ⭐ 263

    MCP-native security automation workbench (SDK + CLI + MCP) — authorized testing + static AI/MCP attack-surface

  • langchain_data_agent by eosho · ⭐ 234

    NL2SQL - Ask questions in plain English, get SQL queries and results. Powered by LangGraph.

  • python-samples-fastapi-restful by nanotaboada · ⭐ 137

    🧪 Proof of Concept for a RESTful API built with Python 3 and FastAPI

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Python Agent Tools

Frequently Asked Questions

What is sql2json?

sql2json is Python CLI tool to run queries against sqltatabases and convert the results to json, csv, excel in the command line or python program. Easy to use for Humans, automations, LLMS/Agents. It is categorized as a Agent Tool with 55 GitHub stars.

What programming language is sql2json written in?

sql2json is primarily written in Python. It covers topics such as automation, cli, command-line-tool.

How do I install or use sql2json?

You can find installation instructions and usage details in the sql2json GitHub repository at github.com/fsistemas/sql2json. The project has 55 stars and 11 forks, indicating an active community.

What license does sql2json use?

sql2json is released under the MIT license, making it free to use and modify according to the license terms.

What are the best alternatives to sql2json?

The top alternatives to sql2json on Agent Skills Hub include python-substack, MCP-PostgreSQL-Ops, slowql. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy, covering 11 red-flag categories including credential harvesting, data exfiltration, and curl | sh installers. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Agent Tool tools