agentleFS
dorukardahandorukardahan/twitterapi-io-mcp/CLAUDE.md

twitterapi-io-mcp

CLAUDE.md10 starsChanged 22 days agoMITView on GitHub

MCP server providing offline access to TwitterAPI.io documentation for Claude and other AI assistants. Created by an independent developer (not affiliated with TwitterAPI.io). Before publishing a new version: 1. Update version in root package.json (twitterapi-io-mcp) 2. Update version in packages/twitterapi-docs-mcp/package.json (legacy wrapper) 3. Update version strings in index.js 4. Update server.json and CHANGELOG.md 5. Run npm test 6. Commit and push 7. Create a GitHub release/tag vX.Y.Z (triggers .github/workflows/publish.yml)

  • In this repository2 other files it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before publishing a new version:

    line 41
  2. Very specific:

    Update version in root package.json (twitterapi-io-mcp)

    line 42
  3. Very specific:

    Update version in packages/twitterapi-docs-mcp/package.json (legacy wrapper)

    line 43
  4. Very specific:

    Update version strings in index.js

    line 44
  5. Very specific:

    Update server.json and CHANGELOG.md

    line 45
  6. Very specific:

    Create a GitHub release/tag vX.Y.Z (triggers .github/workflows/publish.yml)

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

TwitterAPI.io MCP Server

Project Status: PUBLISHED

What This Is

MCP server providing offline access to TwitterAPI.io documentation for Claude and other AI assistants. Created by an independent developer (not affiliated with TwitterAPI.io).

Key Files

FilePurpose
index.jsMain MCP server (ES Module, no build step)
data/docs.jsonBundled docs snapshot (67 endpoints, 19 pages, 21 blog posts)
scrape-all.cjsDocumentation scraper (not in npm package)
test/index.test.jsUnit + MCP integration tests
packages/twitterapi-docs-mcp/Legacy npm wrapper (deprecated)

Commands

npm test          # Run tests
npm start         # Start MCP server locally
npm run scrape    # Refresh docs snapshot

Architecture

  • Runtime: Node.js 18.18.0+
  • Protocol: MCP via stdio
  • Caching: Hybrid (memory + disk) with 24-hour TTL
  • Search: Advanced tokenization with n-gram fuzzy matching

Version Bumping

Before publishing a new version:

  1. Update version in root package.json (twitterapi-io-mcp)
  2. Update version in packages/twitterapi-docs-mcp/package.json (legacy wrapper)
  3. Update version strings in index.js
  4. Update server.json and CHANGELOG.md
  5. Run npm test
  6. Commit and push
  7. Create a GitHub release/tag vX.Y.Z (triggers .github/workflows/publish.yml)

Files NOT in npm package

  • test/ - Tests
  • scrape-*.cjs - Scrapers
  • MCP-*.md - Development notes (gitignored)
  • cache/ - Local cache (gitignored)

CI/CD Notes

  • npm publish uses Granular Access Token (NPM_TOKEN secret) — expires every 90 days
  • semantic-release manages versioning, changelog, GitHub releases
  • Pipeline: push to main → semantic-release → npm publish → MCP registry publish (all in release.yml)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.