alexfjw
MCP ServeralexfjwpublicArchived

stackoverflow teams mcp

一个为 AI 助手提供 Stack Exchange API 数据访问的 Model Context Protocol (MCP) 服务器。

Repository Info

0
Stars
1
Forks
0
Watchers
0
Issues
Python
Language
GNU General Public License v3.0
License

About This Server

一个为 AI 助手提供 Stack Exchange API 数据访问的 Model Context Protocol (MCP) 服务器。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Stackoverflow Teams MCP

A Model Context Protocol (MCP) server that provides access to the Stack Exchange API for Teams, allowing AI assistants to search and retrieve information from Stack Overflow.

Project Overview

This project exposes two main MCP tools:

  1. stackoverflow_questions - Search Stack Overflow for questions and answers matching a query
  2. stackoverflow_excerpts - Search Stack Overflow for excerpts matching a query

The server uses the Stack Exchange API to fetch data and formats the results in a structured way.

Project Structure

stackoverflow-teams-mcp/
├── .vscode/mcp.json # Dogfooding - Using this server with VSCode Copilot in this project
├── main.py          # MCP server logic
└── utils.py         # data models

Setup Instructions

This project uses uv for Python package management. Follow these steps to set up the project:

Prerequisites

  • uv package manager

Installation

  1. Clone the repository:

    git clone [your-repository-url]
    cd stackoverflow-teams-mcp
    
  2. Create a virtual environment and install dependencies using uv:

    uv venv
    source .venv/bin/activate
    uv sync
    

Running the Server

For Development

Use fastmcp dev for local development.

It runs the inspector tool written by Anthropic.

fastmcp dev main.py

Supply these 2 env variables before starting the MCP server.

  • BASE_URL (base url for the api)
  • API_KEY (api key)

For using with VSCode Copilot

Check out .vscode/mcp.json

Quick Start

1

Clone the repository

git clone https://github.com/alexfjw/stackoverflow-teams-mcp
2

Install dependencies

cd stackoverflow-teams-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneralexfjw
Repostackoverflow-teams-mcp
LanguagePython
LicenseGNU General Public License v3.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation