
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@inferlane/mcp-server
Advanced tools
MCP server for InferLane — smart model routing and cost optimization for AI agents. Works with Claude Code, Claude Desktop, Goose, Cursor, and any MCP client. Includes stdio and HTTP transports.
MCP server for InferLane — smart model routing and cost optimization tools for AI agents. Works with Claude Code, Claude Desktop, Goose, Cursor, and any MCP-compatible client.
The server exposes tools that let agents:
il_suggest_model — pick the optimal model for a task (task type, quality tier, budget)il_compare_models — side-by-side comparison of models in the same capability tieril_estimate_cost — estimate the cost of a workload on specific modelsil_check_promotions — active discounts across providers (requires API key)il_get_spend — session/today/week/month spend summaries (requires API key)il_route_request — dispatch a prompt through the smart router (requires API key)Offline tools (il_estimate_cost, il_compare_models, il_suggest_model) work without an InferLane account.
claude mcp add inferlane -- npx -y @inferlane/mcp-server
Or add to ~/.claude/mcp.json:
{
"mcpServers": {
"inferlane": {
"command": "npx",
"args": ["-y", "@inferlane/mcp-server"],
"env": {
"INFERLANE_API_KEY": "il_..."
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"inferlane": {
"command": "npx",
"args": ["-y", "@inferlane/mcp-server"],
"env": { "INFERLANE_API_KEY": "il_..." }
}
}
}
Add to ~/.config/goose/config.yaml under extensions::
extensions:
inferlane:
name: InferLane
type: stdio
enabled: true
cmd: npx
args: ["-y", "@inferlane/mcp-server"]
envs:
INFERLANE_API_KEY: "il_..."
timeout: 60
bundled: false
available_tools: []
| Variable | Purpose |
|---|---|
INFERLANE_API_KEY | Your InferLane API key. Get one at https://inferlane.dev/dashboard/settings. Optional — the server runs in offline mode without it and exposes the three offline tools. |
INFERLANE_BASE_URL | Override the InferLane API base URL (default: https://inferlane.dev). Useful for self-hosted deployments. |
For cloud-hosted agent runtimes (Anthropic Managed Agents, hosted Claude Code, remote IDEs) that can't connect via stdio, run the HTTP server:
npx @inferlane/mcp-server inferlane-mcp-http
# or after install:
inferlane-mcp-http
The server listens on http://127.0.0.1:3030/mcp by default. Every session must authenticate with Authorization: Bearer <INFERLANE_API_KEY>.
| Variable | Default | Purpose |
|---|---|---|
PORT | 3030 | HTTP port |
HOST | 127.0.0.1 | Bind address. Set to 0.0.0.0 to expose on all interfaces (production containers). |
MCP_PATH | /mcp | MCP endpoint path |
INFERLANE_ALLOW_ENV_FALLBACK | (unset) | Set to 1 to let requests without a Bearer token fall back to the process-level INFERLANE_API_KEY. Only safe in trusted single-tenant deployments — leaves the server's configured key accessible to any reachable client. |
Health check at GET /health.
import { createInferLaneServer } from '@inferlane/mcp-server';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = createInferLaneServer({
apiKey: process.env.INFERLANE_API_KEY,
// baseUrl: 'https://your-selfhost.example.com', // optional
});
await server.connect(new StdioServerTransport());
MIT
FAQs
MCP server for InferLane — smart model routing and cost optimization for AI agents. Works with Claude Code, Claude Desktop, Goose, Cursor, and any MCP client. Includes stdio and HTTP transports.
The npm package @inferlane/mcp-server receives a total of 2 weekly downloads. As such, @inferlane/mcp-server popularity was classified as not popular.
We found that @inferlane/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.