SERVER

flatten-mcp

Rank #1,857

io.github.shayaShav/flatten-mcp

Cut a Claude Code session's context tokens losslessly — the reversible alternative to /compact.

First listed
Jun 12, 2026
Last publish date
Jul 22, 2026
OVERVIEW

flatten-mcp is a Model Context Protocol (MCP) server published by shayashav. It ranks #1,857 of 132,046 servers tracked on MCP Toplist, and its repository has 7 GitHub stars. flatten-mcp is listed across 3 registries — PulseMCP, Glama and mcp.so, with 21 release tags tracked from its GitHub repository. It was first listed on Jun 12, 2026 and most recently updated on Jul 22, 2026.

STANDING
#1,857of 132,046 tracked serversTop 5%

Ranks ahead of 130,189 of 132,046 servers on MCP Toplist.

CONNECT

Use flatten-mcp

No setupRuns out of the box

No credentials or required configuration declared — add it to your MCP client and go.

Remote · HTTP
claude mcp add --transport http flatten-mcp https://shaya.cloud/flatten-mcp
npm package
claude mcp add flatten-mcp -e "FLATTEN_COUNT_EXACT=<your FLATTEN_COUNT_EXACT>" -e "ANTHROPIC_API_KEY=<your ANTHROPIC_API_KEY>" -e "FLATTEN_COUNT_MODEL=<your FLATTEN_COUNT_MODEL>" -e "FLATTEN_INMEMORY_TOOLS=<your FLATTEN_INMEMORY_TOOLS>" -e "CLAUDE_CONFIG_DIR=<your CLAUDE_CONFIG_DIR>" -- npx -y flatten-mcp

Replace each placeholder with your own value before saving.

BADGE

Show your rank

Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.

MCP Toplist: Top 5% of 132,046
Markdown
[![MCP Toplist](https://mcptoplist.com/badge/io.github.shayaShav%2Fflatten-mcp.svg)](https://mcptoplist.com/server/io.github.shayaShav%2Fflatten-mcp)
HTML
<a href="https://mcptoplist.com/server/io.github.shayaShav%2Fflatten-mcp"><img src="https://mcptoplist.com/badge/io.github.shayaShav%2Fflatten-mcp.svg" alt="MCP Toplist: Top 5% of 132,046" /></a>

Variants: append ?metric=score or ?metric=stars to the image URL.

REGISTRIES

Listed on 2 registries (1 delisted)

PulseMCPDelisted · last seen Jul 24, 2026
ORGANIZATION

shayashav

Organization
Servers in org
1
Versions across org
21
VERSIONS

GitHub releases (21)

No registry surfaces explicit version metadata for this server. The list below shows release tags from the linked GitHub repository.

v1.0.0 · Jun 12, 2026v1.0.1 · Jun 13, 2026v1.0.2 · Jun 13, 2026v1.0.3 · Jun 13, 2026v1.1.0 · Jun 19, 2026v2.0.1 · Jul 1, 2026v2.0.2 · Jul 1, 2026v2.0.3 · Jul 2, 2026v2.0.4 · Jul 2, 2026v2.0.5 · Jul 2, 2026v2.1.0 · Jul 2, 2026v2.2.0 · Jul 3, 2026v2.2.1 · Jul 10, 2026v2.2.2 · Jul 10, 2026v2.2.3 · Jul 11, 2026v2.3.0 · Jul 11, 2026v2.4.0 · Jul 12, 2026v2.5.0 · Jul 12, 2026v2.5.1 · Jul 16, 2026v2.6.0 · Jul 21, 2026v2.6.1 · Jul 22, 2026Jun 12, 2026Jul 22, 2026
VersionPublished
v2.6.1Jul 22, 2026
v2.6.0Jul 21, 2026
v2.5.1Jul 16, 2026
v2.5.0Jul 12, 2026
v2.4.0Jul 12, 2026
v2.3.0Jul 11, 2026
v2.2.3Jul 11, 2026
v2.2.2Jul 10, 2026
v2.2.1Jul 10, 2026
v2.2.0Jul 3, 2026
v2.1.0Jul 2, 2026
v2.0.5Jul 2, 2026
v2.0.4Jul 2, 2026
v2.0.3Jul 2, 2026
v2.0.2Jul 1, 2026
v2.0.1Jul 1, 2026
v1.1.0Jun 19, 2026
v1.0.3Jun 13, 2026
v1.0.2Jun 13, 2026
v1.0.1Jun 13, 2026
v1.0.0Jun 12, 2026
FAQ

Frequently asked questions

Who maintains flatten-mcp?
flatten-mcp is maintained by shayashav, which publishes 1 MCP server (21 total versions) tracked on MCP Toplist.
Is flatten-mcp listed on the Official MCP Registry?
flatten-mcp is not on the Official MCP Registry. It is listed on PulseMCP, Glama and mcp.so.
How many versions does flatten-mcp have?
No registry surfaces explicit version metadata for flatten-mcp; MCP Toplist tracks 21 release tags from its GitHub repository, most recently published on Jul 22, 2026.
Where can I find the source code for flatten-mcp?
The source code for flatten-mcp is hosted at github.com/shayashav/flatten-mcp.
Used in projects

Do you run this server?

Add to a project

Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.

EXPLORE