search_wiki
Search Wiki
Full-text search the TF2 Wiki. Returns title + snippet + wordcount for each hit.
limitquery必填
io.github.yusufaf由 GitHub 账号 yusufaf 发布v0.1.2更新于 Oct 30, 2026
Live Team Fortress Wiki access: search, pages, weapon stats, loadouts, patch notes.
非官方 MCP 服务器,让助手实时访问《军团要塞2》Wiki:搜索、页面、武器数据、配装、饰品与更新日志。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
An MCP server that exposes the Team Fortress Wiki to LLM clients (Claude Desktop, Claude Code, Cursor, VS Code) over stdio.
[Install in VS Code] [Install in VS Code Insiders] [Install in Visual Studio] [Install in Cursor]
Not affiliated with Valve Corporation or the Team Fortress Wiki contributors. Team Fortress 2 is a trademark of Valve Corporation. This is unofficial fan tooling.
Gives an LLM live, accurate access to TF2 wiki content so it stops guessing at weapon stats, patch notes, and cosmetic details.
Plus: resource tf2wiki://main, prompts analyze_loadout and compare_weapons.
Requires uv (which manages the Python toolchain for you). Once installed, uvx tf2-wiki-mcp will fetch and run the server on demand — no manual clone needed.
Standard config works in most MCP clients:
Add the standard config above to claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop. The TF2 wiki tools appear in the tool picker.
Add the standard config to your Gemini CLI settings.json per the Gemini CLI MCP guide.
Or manually:
tf2-wiki-mcp, Type stdio, Command uvx, Arguments tf2-wiki-mcp.See the Visual Studio MCP docs.
Add this in repository settings under Copilot → Coding agent. See the Copilot Coding Agent MCP docs.
Run from a local clone instead of PyPI:
To point an MCP client at the local checkout:
Code: MIT (see LICENSE).
Wiki content: Not redistributed. This project contains zero scraped wiki data. All page content is fetched live from wiki.teamfortress.com at the user's request and returned directly to the user's LLM client — the same posture as a browser extension.
Wiki content is © its respective contributors under Valve's Steam Subscriber Agreement (Game Site terms). Users of this tool are responsible for compliance with Valve's terms. Code license ≠ content license: MIT covers this codebase, not the wiki content it fetches.
Requests to the wiki include a descriptive User-Agent (tf2-wiki-mcp/<version> (https://github.com/yusufaf/tf2-wiki-mcp)) per MediaWiki etiquette and respect maxlag/Retry-After responses.
Don't check in scraped wiki text. Infobox examples for parser tests are fine (short, fair-use-grade fixtures). Full page dumps are not.
来源:README.md,提交 46ed09b
Search Wiki
Full-text search the TF2 Wiki. Returns title + snippet + wordcount for each hit.
limitquery必填Get Page
Fetch a single TF2 Wiki page. `format` picks raw wikitext, plaintext extract, or rendered HTML.
title必填formatGet Page Summary
Lead-section plaintext summary of a page. Fast context anchor.
title必填Get Page Sections
Section table-of-contents for a page; use before get_page to fetch selectively.
title必填Get Recent Changes
Recently edited pages in the given namespace (0 = main/articles).
limitnamespaceGet Weapon Stats
Fetch a weapon page and return structured stats parsed from its infobox. Returns damage, rate-of-fire, reload, clip size, attributes (+/- effects), etc.
weapon_name必填List Class Loadout
List all weapons for the given class. Intersects Category:<Class> with Category:Weapons on the wiki.
class_name必填Get Cosmetic
Fetch a cosmetic item page and return its infobox params.
name必填List Event Items
List items added during a given TF2 event/update (e.g. 'Jungle Inferno Update', 'Smissmas 2023').
event_name必填Get Patch Notes
Fetch patch notes for a named update or patch page (e.g. 'October 5, 2023 Patch').
update_name必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
{ "mcpServers": { "tf2-wiki-mcp": { "command": "uvx", "args": ["tf2-wiki-mcp"], "env": {} } }}claude mcp add tf2-wiki-mcp -- uvx tf2-wiki-mcp[mcp_servers.tf2-wiki-mcp]command = "uvx"args = ["tf2-wiki-mcp"]code --add-mcp '{"name":"tf2-wiki-mcp","command":"uvx","args":["tf2-wiki-mcp"],"env":{}}'code-insiders --add-mcp '{"name":"tf2-wiki-mcp","command":"uvx","args":["tf2-wiki-mcp"],"env":{}}'{ "mcpServers": { "tf2-wiki-mcp": { "command": "uvx", "args": ["tf2-wiki-mcp"], "env": {}, "type": "local", "tools": ["*"] } }}git clone https://github.com/yusufaf/tf2-wiki-mcpcd tf2-wiki-mcpuv sync --devuv run pytest # offline, uses recorded cassettesuv run pytest --live # also hits the real wiki{ "mcpServers": { "tf2-wiki-mcp": { "command": "uv", "args": ["run", "--directory", "/absolute/path/to/tf2-wiki-mcp", "tf2-wiki-mcp"] } }}