# Tool4LM

> Use this tool when you need to perform offline research, document processing, and mathematical computations without relying on external APIs. It solves problems such as web search, academic research, and document analysis by integrating multiple search engines, scholarly databases, and document formats. With inputs including web pages, documents, and mathematical expressions, and outputs such as searched results, extracted content, and calculated values, Tool4LM provides a self-contained solution for researchers and developers working offline.

Canonical page: https://skillsregistry.net/skills/tool4lm  
JSON: https://api.skillsregistry.net/v1/skills/tool4lm

## Description

This MCP server provides an all-in-one toolkit for local LLMs with web search, document processing, academic research, and mathematical computation capabilities, requiring no API keys. Built by khanhs-234 using TypeScript with the MCP SDK, it integrates multiple search engines (SearXNG, DuckDuckGo), scholarly databases (arXiv, Crossref, Wikipedia), and document formats (PDF, HTML, Markdown) with full-text search via MiniSearch indexing. The implementation includes SSRF protection for web requests, Mozilla Readability for content extraction, MathJS for calculations, and sandbox-based document management, making it valuable for researchers and developers who need a self-contained research assistant that works entirely offline without external API dependencies.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/tool4lm)
- **Repository:** <https://github.com/khanhs-234/tool4lm>

## 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": "tool4lm"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/tool4lm` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/tool4lm/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
