Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

GhostPaw Telegram

MCP server by GhostPawJS Community

Gives AI assistants read access to a local SQLite mirror of Telegram bot messages, plus send and moderation tools. It suits developers running Telegram bots who want a searchable record of chat activity.

  • Score 79
  • 1 stars
  • 556 a week
  • MIT
  • Updated

Install GhostPaw Telegram

Built from the published package, never by AI.

claude mcp add ghostpaw-telegram -- npx -y @ghostpaw/telegram

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install GhostPaw Telegram in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ghostpaw-telegram block.

About

GhostPaw Telegram is a Telegram bot channel engine. Every incoming update is written into a local SQLite database before a handler runs. The mirror includes file blobs such as photos, documents, voice messages and videos, which are downloaded in the background and stored once per SHA-256 hash. The package uses FTS5 full-text search, and it ships as a prebundled blob with a structured tool facade for LLM agents.

The MCP server runs over stdio with the command `ghostpaw-telegram mcp`. It reads the mirror and offers local reads and tool discovery without credentials. Send and moderation actions need a `TELEGRAM_BOT_TOKEN`; without one, they return plans. The project is aimed at developers building bot backends in code and at LLM agents that work through a structured tool interface.

Written from the project's README and checked against it.

Tools it gives your assistant

  • tg_readReads the local mirror, for example listing chats through the list_chats subcommand.
  • tg_sendSends messages through the send_message subcommand, returning a plan when no bot token is set.
  • tg_<tool>Flat CLI form that calls each tool with its parameters as flags.
  • Noun-verb CLICommands such as mirror search, message pin and member ban, derived from the four tool schemas.
  • Mirror searchFull-text search over stored messages using SQLite FTS5.

What you need

  • Node.js 24 or later for the npm package
  • A Telegram bot token in TELEGRAM_BOT_TOKEN for send and moderation actions
  • Linux x64, Linux arm64, macOS arm64, macOS x64 or Windows x64 for the release binary
  • glibc 2.28 or later on Linux for the release binary
SettingNeededWhat it is
TELEGRAM_BOT_TOKENEnvironment variable, secretOptionalTelegram Bot API token; enables send and moderation execution
GHOSTPAW_TELEGRAM_DBEnvironment variableOptionalSQLite database path (default: ~/.ghostpaw/telegram.db)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Search my Telegram mirror for messages about the release.
  • List the Telegram chats the bot has recorded so far.
  • Draft a send to chat 123 that says the build passed, and show the plan.

Good to know

  • Send and moderation tools return plans unless TELEGRAM_BOT_TOKEN is set.
  • The server reads the mirror only and does not poll Telegram for updates.
  • Release binaries are unsigned, and Linux binaries need glibc 2.28 or later. Use npx on Alpine.
  • The mirror may contain private chat content and file blobs.

Security check

F
  • Sends keys or private files to a web addressIn README.md: curl -fsSL https://raw.githubusercontent.com/GhostPawJS/telegram/main/install.sh | sh -s -- --target linux-x64 && export PATH="$HOME
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://raw.githubusercontent.com/GhostPawJS/telegram/main/install.sh | sh

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to GhostPaw Telegram

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

GhostPaw Telegram: common questions

Does GhostPaw Telegram need a bot token to read messages?

No. Local mirror reads and tool discovery work offline. A TELEGRAM_BOT_TOKEN is needed to execute sends and moderation actions.

Where is the Telegram message data stored?

By default it is stored in ~/.ghostpaw/telegram.db. The GHOSTPAW_TELEGRAM_DB variable or the --db flag can set a different path.

Does the MCP server receive new Telegram updates on its own?

No. It reads the mirror populated by the library transport and does not poll for updates.

How do I install GhostPaw Telegram?

In Claude Code run claude mcp add ghostpaw-telegram -- npx -y @ghostpaw/telegram. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is GhostPaw Telegram the official server?

GhostPaw Telegram is a community project by GhostPawJS, not verified by a company domain.

Is GhostPaw Telegram free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is GhostPaw Telegram safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.

What are alternatives to GhostPaw Telegram?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does GhostPaw Telegram work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

GhostPaw Telegram Install

Add to stack

Loading.