twitterapi-io-mcp
CLAUDE.md9 starsChanged 3 months 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)
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
- Distinctive: line 41
Before publishing a new version:
- Very specific: line 42
Update version in root package.json (twitterapi-io-mcp)
- Very specific: line 43
Update version in packages/twitterapi-docs-mcp/package.json (legacy wrapper)
- Very specific: line 44
Update version strings in index.js
- Very specific: line 45
Update server.json and CHANGELOG.md
- Very specific: line 48
Create a GitHub release/tag vX.Y.Z (triggers .github/workflows/publish.yml)
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.
Files
TwitterAPI.io MCP Server
Project Status: PUBLISHED
- npm (recommended): https://www.npmjs.com/package/twitterapi-io-mcp
- npm (legacy wrapper): https://www.npmjs.com/package/twitterapi-docs-mcp
- GitHub: https://github.com/dorukardahan/twitterapi-io-mcp
- Install:
npx -y twitterapi-io-mcp
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
| File | Purpose |
index.js | Main MCP server (ES Module, no build step) |
data/docs.json | Bundled docs snapshot (67 endpoints, 19 pages, 21 blog posts) |
scrape-all.cjs | Documentation scraper (not in npm package) |
test/index.test.js | Unit + 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 snapshotArchitecture
- 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:
- Update version in root
package.json(twitterapi-io-mcp) - Update version in
packages/twitterapi-docs-mcp/package.json(legacy wrapper) - Update version strings in
index.js - Update
server.jsonandCHANGELOG.md - Run
npm test - Commit and push
- Create a GitHub release/tag
vX.Y.Z(triggers.github/workflows/publish.yml)
Files NOT in npm package
test/- Testsscrape-*.cjs- ScrapersMCP-*.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)
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
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.

