sql2json

by fsistemas · Agent Tool · ★ 55

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...

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%)
  • Excel-MCP-Server-Master — semantic(0.25)+complementary+rare_topics+same_lang+similar_pop+shared_platform (58%)
  • mcp-excel-server — semantic(0.24)+complementary+rare_topics+same_lang+similar_pop+shared_platform (58%)

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.

View on GitHub → Browse Agent Tool tools