โ† All Tools ๐Ÿ—„๏ธ

Database

Connect your AI to MySQL, PostgreSQL, Redis, MongoDB, and more

6 tools available

Database tools let your AI agent connect to your databases and execute queries or commands directly. Support for MySQL, PostgreSQL, Redis, MongoDB, ClickHouse, and Elasticsearch โ€” all through a single MCP endpoint.

Connection URLs are stored securely via environment variables. Set your database URL once, and your AI can query your data, run migrations, analyze schemas, and manage records โ€” all from your AI chat.

Benefits

Why use Database?

โœ“ 6 databases supported: MySQL, PostgreSQL, Redis, MongoDB, ClickHouse, Elasticsearch
โœ“ Secure credential storage via encrypted environment variables
โœ“ No database client installation needed
โœ“ Parameterized queries to prevent SQL injection
โœ“ Read and write operations for full data management
Use Cases

What can you do?

Data analysis

Ask your AI to query your database, analyze results, and generate insights โ€” all conversationally.

Schema exploration

Have your AI explore table structures, indexes, and relationships in your database.

Data migration

Let your AI help migrate data between tables, databases, or even different database engines.

Monitoring queries

Run diagnostic queries to check database health, slow queries, or resource usage.

Getting Started

How to set up

Store your connection URL

Ask your AI: "Set MYSQL_URL to mysql://user:pass@host:3306/db" (works for any supported database).

Start querying

Ask your AI to run queries: "Show me all tables" or "Find users created this week".

Add more databases

Set POSTGRES_URL, REDIS_URL, MONGODB_URL, CLICKHOUSE_URL, or ELASTICSEARCH_URL for additional connections.

Your Endpoint

Connect with Database

Use this URL to connect with only Database + Environment Variables enabled.

MCP Endpoint
https://mcp.runtools.link/{YOUR_KEY}
๐Ÿ” Brave Search
6 tools View โ†’
๐Ÿง  Memory
9 tools View โ†’
๐Ÿ“„ Pandoc
2 tools View โ†’
๐ŸŒ Web
2 tools View โ†’
๐Ÿ”‘ Environment Variables
3 tools View โ†’
๐Ÿ“‘ WeasyPrint
1 tool View โ†’
๐Ÿ’ญ Sequential Thinking
1 tool View โ†’
๐Ÿ—„๏ธ Database
6 tools
๐Ÿ“ Filesystem
11 tools View โ†’
๐Ÿ“ง Email
11 tools View โ†’
๐Ÿ‘ค Account
2 tools View โ†’
โœˆ๏ธ Telegram
1 tool View โ†’
๐Ÿš€ OpenRocket
12 tools View โ†’
๐Ÿ“Š Google Analytics
3 tools View โ†’
๐Ÿ”Ž Google Search Console
4 tools View โ†’
๐Ÿ…ฑ๏ธ Bing Webmaster Tools
5 tools View โ†’
Tools

Database Tools

database_mysql_query
2 args
Execute a SQL query on a MySQL database. The connection URL is read from the MYSQL_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='MYSQL_URL' value='mysql://user:pass@host:3306/database'). Supports SELECT, INSERT, UPDATE, DELETE. Use ? placeholders for parameterized queries.
Arguments
Name Type Description
query string SQL query to execute required
params union[] Query parameters for prepared statements. Use ? placeholders. optional
database_postgres_query
2 args
Execute a SQL query on a PostgreSQL database. The connection URL is read from the POSTGRES_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='POSTGRES_URL' value='postgresql://user:pass@host:5432/database'). Supports SELECT, INSERT, UPDATE, DELETE. Use $1, $2 placeholders for parameterized queries.
Arguments
Name Type Description
query string SQL query to execute required
params union[] Query parameters for prepared statements. Use $1, $2 placeholders. optional
database_redis_command
2 args
Execute a Redis command. The connection URL is read from the REDIS_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='REDIS_URL' value='redis://user:pass@host:6379'). Supports GET, SET, HGET, HSET, LPUSH, LRANGE, DEL, KEYS, and all standard Redis commands.
Arguments
Name Type Description
command string Redis command to execute (GET, SET, HGET, LPUSH, DEL, KEYS, etc.) required
args string[] Arguments for the Redis command (e.g. for SET: ['mykey', 'myvalue']) optional
database_mongodb_query
7 args
Execute a MongoDB operation (find, insertOne, updateOne, deleteOne, aggregate, etc.). The connection URL is read from the MONGODB_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='MONGODB_URL' value='mongodb://user:pass@host:27017/database'). The database is taken from the URL.
Arguments
Name Type Description
collection string MongoDB collection name required
operation enum MongoDB operation to execute
Values: find findOne insertOne insertMany updateOne updateMany deleteOne deleteMany aggregate countDocuments
required
filter record Query filter document (for find, findOne, update, delete, countDocuments) optional
document unknown Document to insert (for insertOne) or array of documents (for insertMany) optional
update record Update document (for updateOne, updateMany). Use $set, $inc, etc. optional
pipeline record[] Aggregation pipeline stages (for aggregate) optional
options record Additional options: { sort, limit, skip, projection } optional
database_clickhouse_query
1 arg
Execute a ClickHouse SQL query. The connection URL is read from the CLICKHOUSE_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='CLICKHOUSE_URL' value='http://user:pass@host:8123/database'). Supports SELECT, INSERT, CREATE TABLE, and other ClickHouse SQL statements.
Arguments
Name Type Description
query string ClickHouse SQL query to execute required
database_elasticsearch_query
3 args
Execute an Elasticsearch REST API request. The base URL is read from the ELASTICSEARCH_URL environment variable, which must be set first using the 'env_vars_set' tool (e.g. env_vars_set key='ELASTICSEARCH_URL' value='http://user:pass@host:9200'). Send requests to any Elasticsearch endpoint: search, index documents, manage indices, etc.
Arguments
Name Type Description
method enum HTTP method
Values: GET POST PUT DELETE
required
path string API path (e.g. '/myindex/_search', '/myindex/_doc/1', '/_cat/indices') required
body record Request body as JSON (for POST/PUT requests, e.g. search query DSL) optional
Explore More

Other Tool Categories

Discover more tools to supercharge your AI agent

๐Ÿ”

Brave Search

Web, image, video, news, and local search powered by Brave. AI-powered summaries available.

6 tools
๐Ÿง 

Memory

Persistent knowledge graph for AI agents. Store entities, relations, and observations across sessions.

9 tools
๐Ÿ“„

Pandoc

Universal document conversion between formats: Markdown, HTML, LaTeX, Word, and 40+ more.

2 tools
๐ŸŒ

Web

Web search with automatic provider fallback and URL fetching to markdown.

2 tools
๐Ÿ”‘

Environment Variables

Persistent key-value storage for your AI agent. Store API keys, configs, and settings securely.

3 tools
๐Ÿ“‘

WeasyPrint

Convert HTML/CSS to PDF. Generate invoices, reports, tickets, or any styled document.

1 tool
๐Ÿ’ญ

Sequential Thinking

Dynamic problem-solving through sequential thoughts. Break down complex problems, revise thinking, and branch into alternative approaches.

1 tool
๐Ÿ“

Filesystem

Sandboxed file management. Read, write, edit, move, search, and organize files in your private storage.

11 tools
๐Ÿ“ง

Email

Send emails via SMTP. Configure multiple SMTP servers, create reusable templates with variables, send single or bulk emails with HTML support, and track delivery logs.

11 tools
๐Ÿ‘ค

Account

View your runtools.link account information and manage your plan. Get your user hash, check your current plan, and request a Pro upgrade.

2 tools
โœˆ๏ธ

Telegram

Send messages to any Telegram chat, group or channel with your own bot. The bot token travels with each call and is never stored.

1 tool
๐Ÿš€

OpenRocket

Model rocket design and flight simulation with the real OpenRocket engine: build a rocket, pick a motor, check stability and predict the apogee.

12 tools
๐Ÿ“Š

Google Analytics

Read your Google Analytics 4 traffic: users per day, top hostnames and custom reports with any GA4 metric and dimension. Uses your own service account, stored via env_vars_set (GOOGLE_SERVICE_ACCOUNT_JSON).

3 tools
๐Ÿ”Ž

Google Search Console

See how people find your site on Google: clicks, impressions, CTR and position by query, page, country or device, plus URL inspection and sitemaps. Uses your own service account, stored via env_vars_set (GOOGLE_SERVICE_ACCOUNT_JSON).

4 tools
๐Ÿ…ฑ๏ธ

Bing Webmaster Tools

See how your site does on Bing (and the Yahoo and DuckDuckGo results it powers): daily clicks and impressions, top queries and pages, and crawl stats. Uses your own API key, stored via env_vars_set (BING_WEBMASTER_API_KEY).

5 tools
โ† View All Tools