claude-codeClaude Code

Connect Claude Code to PostgreSQL and Telegram

Give Claude Code your Postgres and Telegram together and it can run database work and tell the team about it in one pass. Postgres is the system of record, so the agent handles the maintenance, analyzing table statistics, creating indexes inside a transaction, and calling functions. Telegram is where the results land, so the same run sends a message to your channel the moment a job finishes. You get a database operator that reports its own work instead of leaving you to go check.

Loading preview…
Opens a workflow with 88 tools ready to use.

Tools Claude Code gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

PostgreSQL

40 tools
Run Select Query

Execute a SELECT query and return results as JSON

Execute Sql Statement

Execute an INSERT, UPDATE, DELETE, or other non-SELECT statement

Execute Batch Statements

Execute a statement with multiple parameter sets (batch operations)

Run Query with Cursor

Execute query with cursor for large result sets

Copy Data to Table

Bulk import data to a table using COPY

Copy Data from Table

Bulk export data from a table using COPY

List Schema Tables

List all tables in a schema

List Table Columns

Get column metadata for a table

Get Table Info

Get detailed information about a table including constraints and indexes

Create Table

Create a new table

Drop Table

Drop a table

Truncate Table

Truncate a table (remove all rows)

List Schemas

List all schemas in the database

Create Schema

Create a new schema

Drop Schema

Drop a schema

List Databases

List all databases in the PostgreSQL server

List Schema Indexes

List all indexes in a schema

Create Index

Create an index on a table

Drop Index

Drop an index

List Schema Views

List all views in a schema

Create View

Create a view

Drop View

Drop a view

List Schema Sequences

List all sequences in a schema

Get Sequence Next Value

Get the next value from a sequence (nextval)

Get Sequence Current Value

Get the current value from a sequence (currval)

Set Sequence Value

Set the current value of a sequence (setval)

List Schema Functions

List all functions in a schema

Call Database Function

Call a PostgreSQL function

List Table Constraints

List all constraints for a table

List Schema Triggers

List all triggers in a schema

List Extensions

List all installed extensions

Install Extension

Create/install an extension

List Database Users

List all database users

List Database Roles

List all database roles

Explain Query Plan

Explain a query's execution plan

Vacuum Table

Vacuum a table to reclaim storage and update statistics

Analyze Table Statistics

Analyze a table to update statistics

Begin Transaction

Begin a new transaction

Commit Transaction

Commit the current transaction

Rollback Transaction

Rollback the current transaction

Telegram

48 tools
Send Message to Chat

Send message directly to a chat ID

Send Message to Channel

Send message to a public channel or group

Send Document File

Send a document/file to a chat ID

Send Webhook Delivery

Deliver via webhook (no message required)

Send Photo Image

Send a photo to a chat

Send Video File

Send a video to a chat

Send Audio File

Send an audio file to a chat

Send Voice Note

Send a voice note (.ogg) to a chat

Send Animated Video

Send a GIF or silent H.264/MPEG-4 AVC video

Send Circular Video

Send a circular video message

Send Sticker

Send a sticker

Send Photo Video Album

Send a group of photos, videos, or documents as an album

Send Contact Information

Send a phone contact

Send Location Pin

Send a geographic location

Send Venue Location

Send a venue (location with title and address)

Send Dice Emoji

Send an animated emoji that displays a random value

Edit Message Text

Edit the text of a sent message

Edit Message Caption

Edit the caption of a media message

Delete Message

Delete a message

Delete Multiple Messages

Delete multiple messages at once

Pin Message in Chat

Pin a message in a chat

Unpin Chat Message

Unpin a message (or all messages) in a chat

Forward Message to Chat

Forward a message to another chat

Copy Message to Chat

Copy a message to another chat (without forward tag)

Send Chat Typing Indicator

Show a 'typing…' or 'uploading…' indicator in a chat

Send Poll or Quiz

Create and send a poll or quiz

Stop Active Poll

Stop a running poll

Get Chat Details

Get full information about a chat

Get Chat Member Info

Get information about a member of a chat

Get Chat Member Count

Get the number of members in a chat

Get Chat Admin List

Get a list of administrators in a chat

Ban User from Chat

Ban a user from a chat

Unban User from Chat

Unban a previously banned user

Restrict User Permissions

Restrict a user's permissions in a chat

Promote User to Admin

Promote a user to admin or update their admin rights

Set Chat Title

Change the title of a chat

Set Chat Description

Change the description of a chat

Create Chat Invite Link

Create an additional invite link for a chat

Revoke Chat Invite Link

Revoke an invite link to a chat

Answer Inline Button Callback

Answer a callback query from an inline keyboard button

Answer Inline Search Results

Answer an inline query with a list of results

Set Message Emoji Reaction

Set a reaction on a message

Get Bot Information

Get basic information about the bot

Get File Download Info

Get info about a file by its file_id (includes download URL)

Send Payment Invoice

Send a payment invoice

Answer Payment Pre Checkout

Confirm or reject a payment pre-checkout query

Setup Telegram Channel Guided

Guided channel setup flow. Registers a webhook with the bot, then generates a deep-link for the user. When the user adds the bot to their channel as admin, the channel ID is automatically detected and stored — no manual copy-pasting needed.

Connect Telegram Channel

Connect a Telegram channel by entering its @username or numeric ID. The bot must already be added as an admin to the channel before running. This node validates the connection and returns the channel details. Works correctly in setup flows — runs once and returns channel_id immediately.

What you can build

Run Analyze Table Statistics on your busiest tables and send the row counts and bloat to a Telegram channel every morning.
Wrap a Create Index in Begin Transaction and Commit Transaction, then send a message to the ops chat once the index is live.
Call a database function to pull today's signup count and post that number straight to a Telegram channel.
Copy data from an orders table into a staging table, then send a chat message confirming how many rows moved.

About Claude Code

Claude Code is Anthropic's command-line coding agent. In NoClick you run it as a hosted agent and connect your real apps to its tools handle, so it does far more than write code. Wire in an integration and Claude Code can read and act on Slack, Linear, your database, and more on its own, calling each one as a tool while it works. It is the same capable agent, pointed at your actual workflows instead of a sandbox.

Careful multi-step planning before it acts
Reliable on long, structured tasks
Reads context thoroughly before making changes
Comfortable across code, data, and APIs

Frequently asked questions

Open your Claude Code agent in one click

NoClick runs Claude Code for you with PostgreSQL and Telegram wired in as tools. Connect your account and run.