Strings-LE
概览
作者提供的说明(英文原文)
Extract string values from config files, data files and plain text.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 89/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"string-le": {
"command": "npx",
"args": [
"-y",
"string-le-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add string-le -- npx -y string-le-mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"string-le": {
"command": "npx",
"args": [
"-y",
"string-le-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"string-le": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"string-le-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 nolindnaidoo 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3603 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3603 个服务器的 53% 更新
- 基础检查结果等于或优于此分类中其他 3603 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Strings-LE 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(2.5.1)于27天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Strings-LE: Zero Hassle String Extraction
Pull every string value out of the current file in one keystroke
JSON/JSONC, YAML, CSV/TSV, TOML, INI, Environment files, and ten source languages
Useful? A star or rating is how other developers find it —
★ GitHub ·
What it does
Open a file, run String-LE: Extract Strings, and every string value in the document lands in a new editor — deduplicate and sort it from there. Works in VS Code and in VS Code–based editors like Cursor and VSCodium (installable from Open VSX).
- i18n prep — flatten locale files (JSON/YAML) into a clean list of translatable values
- Config review — see every string value in a TOML/INI/.env file at a glance
- CSV mining — pull one column, several, or all of them; stream very large files
Install
| Where | What you get | Install |
|---|---|---|
| VS Code | The same extraction, in your editor, on a keystroke | Marketplace |
| Cursor, VSCodium, Windsurf | The same extension | Open VSX |
| A terminal or a CI step | The same run over a whole tree, with exit codes | npx strings-le · npm or cargo install string-le · crates.io |
| Any MCP agent, via Node | extract_strings over stdio | npx string-le-mcp · npm |
Use it from an AI agent
The same engine runs as an MCP server, so an agent can call it directly instead of you running a command.
| Editor | How |
|---|---|
| VS Code 1.101+ | Nothing to install — the extension registers extract_strings with agent mode |
| Claude Code | claude mcp add string-le -- npx -y string-le-mcp |
| Cursor, Windsurf, anything else | point it at npx string-le-mcp |
extract_strings(content, format?, filename?, dedupe?, multiline?, maxResults?)
Returns the values in document order, capped at 500 by default with meta.truncated. A format is optional — any unrecognised format falls back to quoted strings.
The server takes content and returns data — it reads no files and makes no network requests of its own. Published as string-le-mcp on npm and as io.github.nolindnaidoo/string-le in the MCP registry.
Configuring it by hand — any host with an MCP config file
Most hosts read a JSON config. Add one entry:
{
"mcpServers": { "string-le": { "command": "npx", "args": ["-y", "string-le-mcp"] } } }
-y skips the install prompt on first run. Pin a version if you would rather not track releases — string-le-mcp@2.5.1.
Prefer not to go through npx on every launch? Install it once and point at the binary instead:
npm install -g string-le-mcp
{
"mcpServers": { "string-le": { "command": "string-le-mcp" } } }
It speaks MCP over stdio and needs no environment variables, no API key and no configuration of its own. To check it before wiring it into anything:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx -y string-le-mcp
That prints the tool list and exits — if you see extract_strings, the server works.
Supported formats
| Format | Language IDs | What gets extracted |
|---|---|---|
| JSON | json | String values (parsed; keys, numbers, and booleans excluded) |
| YAML | yaml | String values including unquoted plain scalars, block/folded scalars, and multi-document files |
| CSV | csv | Cells, with optional header handling, column selection, and a streaming mode for large files |
| TOML | toml | String values including multiline strings; dates and numbers are excluded as typed values |
| INI | ini | Values (INI is untyped, so numeric-looking values are extracted as strings) |
| Environment | dotenv, env | Values (export prefixes, quotes, and inline comments handled) |
| Python | python | Triple-quoted docstrings as one string, f-strings, r/b/u prefixes |
| Rust | rust | Raw strings r"…", r#"…"#, r##"…"## as one string with their inner quotes; byte strings |
| Go | go | Backtick raw strings as one string, across lines |
| Shell | shellscript | Heredocs (<<EOF, <<'EOF', <<-EOF) as one string |
| PHP, Ruby, Perl | php, ruby, perl | Heredocs and nowdocs (<<<EOT, <<<'NOW', <<~EOS) as one string |
| C# | csharp | Verbatim @"…" where "" is one quote; interpolated $"…" |
| JavaScript, TypeScript | javascript, typescript (+ the react ids) | Template literals as one string, interpolation and nesting included |
| Markdown, anything else | markdown | Fallback scan for "double", 'single', or `backtick` quoted strings on a single line |
Values are trimmed; empty values are dropped; keys are never extracted — one rule, shared by every extractor above. The fallback scan cannot see unquoted strings, which is why the parsed formats and the source languages get real readers; it reads a quoted run across lines when string-le.fallback.multiline is on (the MCP tool's multiline). Parse errors are silent unless string-le.showParseErrors is on.
Across a folder or a workspace
Extract reads the document you have open. A scan reads many files from disk and gives one report.
- The whole workspace: run
String-LE: Extract Strings from Workspacefrom the command palette. - One folder: right-click it in the Explorer and choose
Extract Strings from Folder, or runString-LE: Extract Strings from Folderand pick one.
A project writes the same string in many places, so the report is the distinct strings, the most widely used first, with how often each is written and where. Every string is in the table. Most are written once, and such a one is placed in its row. A repeated one gets a section below that lists each place:
# String-LE workspace report
my-project · 4 file(s) read · 3 distinct string(s), 7 occurrence(s) in 3 file(s)
| String | Occurrences | Files | Where |
|---|---|---|---|
Save changes | 4 | 3 | |
Cancel | 2 | 2 | |
Press Enter | 1 | 1 | src/b.py · 2:8 |
Save changes (4)
i18n/en.json· 2:11src/a.ts· 1:11, 3:11src/b.py· 1:9
Cancel (2)
i18n/en.json· 3:13src/a.ts· 2:11
Could not be read (1)
bad.json: Invalid JSON: Expected value after colon in object property on line 1 column 6
Positions follow string-le.showPositions. With it off, each line is the file and how many times the string is in it: src/a.ts (2). The copy on the clipboard follows string-le.clipboardIncludesPositions, as it does for Extract.
A file its format reader could not parse is listed with the reason, never passed over. A string longer than 120 characters, or one with a line break, is shown as one cut line. Two strings are still compared whole.
What a scan reads. Files come from disk, so an unsaved edit is not seen. A file over the safety size, or one that is not UTF-8 text, is left unread. It stops at 5,000 files or 10,000 listed occurrences. The report ends with a line for each thing it left out, so a short report is never mistaken for a clean project.
What it skips, and how to change that. Three switches are on by default, and each can be turned off on its own in Settings:
| Switch | Skips |
|---|---|
scanUseDefaultExcludes | Dependency folders, build output, tool caches and lockfiles. The full list is below |
scanRespectGitignore | Whatever the project's .gitignore files skip |
scanSkipBinaryFiles | Images, fonts, archives and other files that are not text |
Two lists adjust the result without turning a switch off. To skip more, add a pattern to scanExcludes. To read something a switch would skip, add it to scanAlwaysInclude:
{
// Also skip the test fixtures. "string-le.workspace.scanExcludes": ["/fixtures/"], // Read the vendored code, though the built-in list skips it. "string-le.workspace.scanAlwaysInclude": ["/vendor/"] }
String-LE: Open Settings opens all of these in the Settings editor.
The built-in list
Folders, wherever they appear:
.git, .hg, .svn, node_modules, bower_components, jspm_packages, .pnpm-store, .yarn, vendor, site-packages, Pods, Carthage, dist, build, out, target, _build, _site, dist-newstyle, zig-out, storybook-static, cdk.out, DerivedData, CMakeFiles, .next, .nuxt, .output, .svelte-kit, .angular, .astro, .docusaurus, .vuepress, .expo, .turbo, .parcel-cache, .cache, .sass-cache, .jekyll-cache, .dart_tool, .pub-cache, .gradle, .kotlin, .cxx, .externalNativeBuild, captures, ephemeral, .symlinks, .swiftpm, .build, .bundle, .stack-work, .zig-cache, .godot, elm-stuff, .vercel, .netlify, .serverless, .aws-sam, .terraform, .venv, venv, __pycache__, .tox, .nox, .mypy_cache, .pytest_cache, .ruff_cache, .ipynb_checkpoints, .eggs, coverage, htmlcov, .nyc_output, .vscode-test, .idea, .vs, xcuserdata, *.egg-info
Files, wherever they appear:
*.min.js, *.min.css, *.map, *.snap, *.lock, package-lock.json, pnpm-lock.yaml, npm-shrinkwrap.json, go.sum, *.pbxproj, *.iml, local.properties, output-metadata.json, .flutter-plugins, .flutter-plugins-dependencies, .packages, Generated.xcconfig, flutter_export_environment.sh, GeneratedPluginRegistrant.*, fastlane/report.xml, fastlane/test_output/**, doc/api/**
Not on the list, because they are ordinary fol
只显示了开头部分;其余内容请在仓库中阅读