Skip to content

Commit c79d863

Browse files
committed
Initial release: ocds-mcp v0.1.0
MCP server for German public procurement data. Connects AI assistants (Claude, GPT, Cursor, LM Studio) to the Vergabe Dashboard API for semantic search, tender matching, and company profile management. - 10 MCP tools over stdio - Local SQLite profile storage (GDPR-compliant) - Local sentence embedding (multilingual-e5-small, 384-dim, ONNX) - Single self-contained binary (28 MB, ONNX statically linked) - GitHub Actions release workflow (Linux, macOS, Windows) - MIT licensed https://vergabe-dashboard.qune.de
0 parents  commit c79d863

23 files changed

Lines changed: 6276 additions & 0 deletions

.github/workflows/release.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: ['v*']
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
include:
15+
- target: x86_64-unknown-linux-gnu
16+
os: ubuntu-latest
17+
binary: ocds-mcp
18+
asset: ocds-mcp-linux-x86_64
19+
- target: aarch64-apple-darwin
20+
os: macos-latest
21+
binary: ocds-mcp
22+
asset: ocds-mcp-macos-arm64
23+
- target: x86_64-pc-windows-msvc
24+
os: windows-latest
25+
binary: ocds-mcp.exe
26+
asset: ocds-mcp-windows-x86_64
27+
28+
runs-on: ${{ matrix.os }}
29+
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- uses: dtolnay/rust-toolchain@stable
34+
with:
35+
targets: ${{ matrix.target }}
36+
37+
- name: Build
38+
run: cargo build --release --target ${{ matrix.target }} -p ocds-mcp
39+
40+
- name: Package (Unix)
41+
if: matrix.os != 'windows-latest'
42+
shell: bash
43+
run: |
44+
cp target/${{ matrix.target }}/release/${{ matrix.binary }} ${{ matrix.asset }}
45+
tar czf ${{ matrix.asset }}.tar.gz ${{ matrix.asset }}
46+
47+
- name: Package (Windows)
48+
if: matrix.os == 'windows-latest'
49+
shell: bash
50+
run: |
51+
cp target/${{ matrix.target }}/release/${{ matrix.binary }} ${{ matrix.asset }}.exe
52+
7z a ${{ matrix.asset }}.zip ${{ matrix.asset }}.exe
53+
54+
- name: Upload artifact
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: ${{ matrix.asset }}
58+
path: ${{ matrix.asset }}.*
59+
60+
release:
61+
needs: build
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/download-artifact@v4
65+
with:
66+
merge-multiple: true
67+
68+
- name: Create GitHub Release
69+
uses: softprops/action-gh-release@v2
70+
with:
71+
generate_release_notes: true
72+
files: |
73+
ocds-mcp-linux-x86_64.tar.gz
74+
ocds-mcp-macos-arm64.tar.gz
75+
ocds-mcp-windows-x86_64.zip

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
target/
2+
dist/
3+
*.db
4+
data/
5+
.env

0 commit comments

Comments
 (0)