ContextSlicer MCP
A zero-dependency stdio MCP server that filters AI chat history to reduce token usage. It exposes methods like slice_and_retrieve and save_slice to manage context slices, keeping raw turns archived while sending only relevant context for the active task.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Filter chat history to reduce token usage
- Manage context slices for AI tasks
- Retrieve specific context segments
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@krishthesmart/context-slicer 1.0.1
{
"version": "1.0.1",
"transport": "stdio",
"identifier": "@krishthesmart/context-slicer",
"registryType": "npm",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
],
"environmentVariables": [
{
"name": "CONTEXT_SLICER_DB",
"format": "string",
"description": "Path to the local JSON file for storing slices (optional)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"contextslicer-mcp": {
"command": "npx",
"args": [
"-y",
"@krishthesmart/context-slicer@1.0.1",
"mcp"
],
"env": {
"CONTEXT_SLICER_DB": "<YOUR_CONTEXT_SLICER_DB>"
}
}
}
}Cline
{
"mcpServers": {
"contextslicer-mcp": {
"command": "npx",
"args": [
"-y",
"@krishthesmart/context-slicer@1.0.1",
"mcp"
],
"env": {
"CONTEXT_SLICER_DB": "<YOUR_CONTEXT_SLICER_DB>"
}
}
}
}VS Code
{
"servers": {
"contextslicer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@krishthesmart/context-slicer@1.0.1",
"mcp"
],
"env": {
"CONTEXT_SLICER_DB": "<YOUR_CONTEXT_SLICER_DB>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"contextslicer-mcp": {
"command": "npx",
"args": [
"-y",
"@krishthesmart/context-slicer@1.0.1",
"mcp"
],
"env": {
"CONTEXT_SLICER_DB": "<YOUR_CONTEXT_SLICER_DB>"
}
}
}
}Let your agent find its tools
Find servers like ContextSlicer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.