git404hub

what is tweetkit-x fr?

nsozturk/tweetkit-x — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

tl;dr

tweetkit-x is a Python library, CLI, and MCP server for posting, deleting, and reading X (Twitter) using your own browser session cookie instead of the paid official API.

vibe map

mindmap
  root((tweetkit-x))
    What it does
      Post and delete tweets
      Read timelines
      No paid API needed
      Uses browser cookie
    Tech stack
      Python
      CLI
      MCP server
    Use cases
      Scheduled posting bots
      Tweet cleanup scripts
      AI assistant integration
    Risk
      Against X terms of service
      Account risk on user

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Build a scheduled posting bot for your own X account without paying per-post API fees.

VIBE 2

Write a cleanup script that finds and deletes old tweets matching a regex pattern.

VIBE 3

Give Claude Desktop, Claude Code, or Cursor direct access to post and read X via the bundled MCP server.

what's the stack?

PythonMCPCLI

how it stacks up fr

nsozturk/tweetkit-x0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires extracting your X session cookie manually via browser DevTools or a companion extension.

Permissive open-source license, use freely in personal or commercial projects.

in plain english

tweetkit-x is a Python library, command line tool, and MCP server that lets you post, delete, and read on X, formerly known as Twitter, without paying for the official API. Instead of going through X's developer program, it reuses the session cookie from your own logged in browser and replays the same internal requests your browser sends when you click Post, Delete, or scroll your timeline. The project exists because X removed the free tier for new developers in February 2026, so posting your own tweets through the official API now costs money per post and per read. For people who just want to automate their own account, such as a bot that posts scheduled content or a script that cleans up old tweets, tweetkit-x avoids that recurring bill entirely, at the cost of using your account in a way that is against X's terms of service. The README is upfront that this is a grey area tool for personal automation and that any account risk is entirely on the user. Once you have imported your session cookie, which can be pasted directly, loaded from a browser exported HAR file, or loaded from a companion Chrome extension called storagedump, you get a wide set of capabilities. You can post text, images, GIFs, video, replies, threads, quote tweets, long note style tweets, and scheduled tweets. You can delete tweets by id or run cleanup loops that find and remove matching posts. You can like, retweet, bookmark, follow, block, mute, and pin, each with an undo. You can search across all of X using the same operators the site itself supports, or run a local regex search over just your own tweets. You can also read your home feed, any other timeline, replies to a tweet, followers and following lists, and full profiles. The MCP server exposes forty of these tools so that AI assistants like Claude Desktop, Claude Code, or Cursor can use your X account directly, including built in tools that walk you through setting up the cookie. The whole thing is lightweight: no headless browser and no Selenium are involved. It requires Python 3.10 or newer and is released under the MIT license.

prompts (copy fr)

prompt 1
Install tweetkit-x and walk me through importing my X session cookie using the storagedump extension.
prompt 2
Write a Python script with tweetkit-x that posts a 3-tweet thread with an image on the first tweet.
prompt 3
Set up tweetkit-x's MCP server in Claude Code so I can read and post to X from a chat session.
prompt 4
How do I use tweetkit-x's local regex search to find my own tweets mentioning a keyword?

Frequently asked questions

what is tweetkit-x fr?

tweetkit-x is a Python library, CLI, and MCP server for posting, deleting, and reading X (Twitter) using your own browser session cookie instead of the paid official API.

What language is tweetkit-x written in?

Mainly Python. The stack also includes Python, MCP, CLI.

What license does tweetkit-x use?

Permissive open-source license, use freely in personal or commercial projects.

How hard is tweetkit-x to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tweetkit-x for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.