# Code Reference Optimizer MCP Server

> Use this tool when you need to optimize code references for AI assistants, reducing token usage and improving performance. It analyzes diffs, extracts minimal code context, and optimizes imports from multiple programming languages, including TypeScript/JavaScript, Python, Go, and Rust. Ideal for use cases requiring efficient code analysis and token-aware caching.

Canonical page: https://skillsregistry.net/skills/fosterg4-mcpsaver  
JSON: https://api.skillsregistry.net/v1/skills/fosterg4-mcpsaver

## Description

Extracts minimal, relevant code context from multiple programming languages while analyzing diffs and optimizing imports to reduce token usage for AI assistants. Supports TypeScript/JavaScript, Python, Go, and Rust with token-aware caching.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-04-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ebt9akd1yl)
- **Repository:** <https://github.com/FosterG4/mcpsaver>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "fosterg4-mcpsaver"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/fosterg4-mcpsaver` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/fosterg4-mcpsaver/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
